Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2018-10-14 14:15:28
Size: 538
Editor: asbesto
Comment:
Revision 3 as of 2018-10-14 18:45:55
Size: 534
Editor: asbesto
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Line 16: Line 15:
 == rsync a disk that was entirely copied into a dir ==  == rsync a disk that was entirely copied into a dir ==

Rsync tricks

To backup an entire dir in a backup disk

rsync -auv /home/user/dirname/ /media/user/backupdisk/dirname/

note the / at the end of every dirname!

rsync a disk that was entirely copied into a dir

rsync -auv /media/user/UID-OF-THE-DISK-OR-MOUNTPOINT/ /media/user/backupdisk/DIR-NAME-OF-DISK-BACKUP

Example: 

rsync -auv /media/asbesto/4329823984284234234/ /media/asbesto/BACKUP2TB/tonino 

In this case note the missing / on the destination dir!!!

TrucchiRsync (last edited 2018-10-14 18:45:55 by asbesto)