Rsync and screen

From Notepedia
Jump to: navigation, search
Step 1

Open up screen and name the session:

# screen -S backup_job
Step 2

Run the rsync command from ~/:

# rsync -rumv --delete Video Music Pictures BackupLVM/ > backedup.log
# cd ~/BackupLVM2/
# rsync -rumv --delete Video Music Pictures ../

Adding --progress to that will give a bit more info on where the job is at

Step 3

Detach the screen session and let it do it's thing

 ^A d (Control A + d)
Step 4

Reattach to have a peek at progress whenever you like

# screen -list
# screen -x {session in list}