backup OS - UTMediaCAT/mediacat-docs GitHub Wiki

Using sudo rsync -aAXv --delete --exclude=/exclude/files/path /source /destination to backup any file you want.

For Graham instance, the command is sudo rsync -aAXv --delete --exclude=/sys/* --exclude=/proc/* --exclude=/media/data/Backup / /media/data/Backup, the backup will be stored in /media/data/Backup.

It is recommended to backup OS before making any major changes to the system.

The command to restore your system is here:

sudo rsync -aAXv --delete /media/data/Backup /

More instructions can be found here.