Skip to content

backup OS

Charles(Shengsong) Xu edited this page Jan 26, 2022 · 2 revisions

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=/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.

More instructions can be found here.

Clone this wiki locally