Views:
400,338β
Votes: 2β
Tags:
backup
grub
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1138896
Title:
How to back up my entire system?
ID:
/2019/04/28/How-to-back-up-my-entire-system_
Created:
April 28, 2019
Upload:
January 1, 2025
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
You can backup your entire Ubuntu installation to another partition with this answer:
Advantages of this technique:
- You can continue using the system while it is being backed up. Care must be taken that you are only using web browser apps, office apps, watching videos, etc. and not database apps like accounting or SQL.
- Virtual file systems are not backed up. They are recreated on each boot up so they are useless to backup in the first place.
- The first backup may take an hour but daily backups do not copy files that havenβt changed so they may only take a few minutes.
- You can reboot and use the backup. This is beneficial if you want to try something dangerous that might break the system such as a Ubuntu Version upgrade untested in your environment.
- If you totally break your production environment you can reboot into your clone and copy it back over using the same script.
- Grub is automatically updated with proper UUID entries.
-
/etc/fstab
is automatically updated with proper UUID entries.