⇤ ← Revision 1 as of 2018-10-14 14:15:28
Size: 538
Comment:
|
Size: 535
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!!!