Size: 535
Comment:
|
← Revision 3 as of 2018-10-14 18:45:55 ⇥
Size: 534
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | 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!!!