| Both sides previous revision Previous revision Next revision | Previous revision | 
| linux:rsync [2017/07/18 22:45]  –  lamboringo | linux:rsync [2019/03/19 07:55] (current)  –  lamboringo | 
|---|
| time rsync  --dry-run --exclude '*.fucked.up' --itemize-changes -a --stats -h /boot/ /run/media/barriot/barracuda3t/pendejo/boot/ | time rsync  --dry-run --exclude '*.fucked.up' --itemize-changes -a --stats -h /boot/ /run/media/barriot/barracuda3t/pendejo/boot/ | 
| time rsync  --dry-run --exclude 'win7-HardDisk1.vdi' --exclude '*.fucked.up' --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/barriot/barracuda3t/pendejo/rootfs/ | time rsync  --dry-run --exclude 'win7-HardDisk1.vdi' --exclude '*.fucked.up' --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/barriot/barracuda3t/pendejo/rootfs/ | 
| time rsync  --dry-run --exclude 'win7-HardDisk1.vdi' --exclude '*.fucked.up' --itemize-changes -a --stats -h /home/ /run/media/barriot/barracuda3t/pendejo/home/ | time rsync  --dry-run --exclude .cache --exclude 'win7-HardDisk1.vdi' --exclude '*.fucked.up' --itemize-changes -a --stats -h /home/ /run/media/barriot/barracuda3t/pendejo/home/ | 
| # win | # win | 
| time rsync  --dry-run --exclude '*.fucked.up' --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /mnt/win_boot/ /run/media/barriot/barracuda3t/pendejo/sda1.WD500Gb.win7_boot/ | time rsync  --dry-run --exclude '*.fucked.up' --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /mnt/win_boot/ /run/media/barriot/barracuda3t/pendejo/sda1.WD500Gb.win7_boot/ | 
| time rsync  --dry-run --itemize-changes -a --stats -h /home/ /run/media/lambo/hphome/ | time rsync  --dry-run --itemize-changes -a --stats -h /home/ /run/media/lambo/hphome/ | 
|  |  | 
| tests & run | tests & edit & run | 
|  | mount --bind /dev /run/media/lambo/hpsystem/dev | 
|  | # same for sys & proc | 
|  | # edit /boot/grub2/grub.cfg for uuids | 
|  | ll /dev/disk/by-uuid/ | 
|  | chroot /run/media/lambo/hpsystem/ | 
|  | # grub2-install /dev/sd?? /dev/sda or /dev/sdb or /dev/sdc usually | 
|  | umount /run/media/lambo/hpsystem/dev | 
|  | umount /run/media/lambo/hpsystem/proc | 
|  | umount /run/media/lambo/hpsystem/sys | 
|  | umount /run/media/lambo/hpsystem/home | 
|  | umount /run/media/lambo/hpsystem/boot | 
|  | umount /run/media/lambo/hpsystem | 
|  | /run/media/lambo/boot | 
|  | # reboot | 
|  |  | 
|  | == links == | 
|  |  | 
|  | * https://opensource.com/article/19/3/backup-solutions |