I'm getting back into Linux and am running Kubuntu 21.10, and I want to make a proper full backup of the system now that I've configured it how I like. This is the command I used to create a backup on a separate drive:
sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} "/media/backuppath/"
This is what my partitions look like for the drive I want to back up:
/dev/sda1 fat32 /boot/efi (primary)
/dev/sda2 extended
/dev/sda5 ext4 /
I am new to rsync, so it would be helpful to know if this backup command will take care of everything to restore an exact system backup: system settings, installed programs, etc. More importantly, what do I need to run to restore this if the time ever comes?
Asked by tommythecat42
(21 rep)
Mar 3, 2022, 11:38 PM
Last activity: Aug 6, 2025, 11:01 AM
Last activity: Aug 6, 2025, 11:01 AM