I'm looking to take a whole system backup and store it on S3. Something that could be good enough to restore my entire system. But I've been told that using dd/rsync to capture the root directory will save a lot of extraneous files that I wouldn't need to restore the system.
In the event that I had to reply on this backup, I would need to restore:
- The home directory
- All installed programs
- All customizations throughout the system, such as edits to the Openbox configuration file, etc
The command I see recommended here is:
sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt
Is it possible to go lighter than that?