Backup to external disk
by Arch4GoodieLike from LinuxQuestions.org on (#5AKFD)
Hi there,
i have several questions :redface:
1.
if i want to move the whole backup content from /actualbackup folder to /oldandstable folder
have i to use
Code:mv /run/media/myusername/ArchBackup/actualbackup/* /run/media/myusername/ArchBackup/oldandstable ?
2. if i want to do a backup on external drive and overwrite existing data, i do
Code:sudo rsync -aAXHv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /run/media/myusername/ArchBackup/actualbackupis that about right?:scratch:
3.
i have read that theres a -delete variable for rsync which is "recommented" to add it to the backup command, when you backup frequently, why?
Thanks for reading and hopefuly even replying to my thread!:hattip:


i have several questions :redface:
1.
if i want to move the whole backup content from /actualbackup folder to /oldandstable folder
have i to use
Code:mv /run/media/myusername/ArchBackup/actualbackup/* /run/media/myusername/ArchBackup/oldandstable ?
2. if i want to do a backup on external drive and overwrite existing data, i do
Code:sudo rsync -aAXHv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /run/media/myusername/ArchBackup/actualbackupis that about right?:scratch:
3.
i have read that theres a -delete variable for rsync which is "recommented" to add it to the backup command, when you backup frequently, why?
Thanks for reading and hopefuly even replying to my thread!:hattip: