Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:rsync [2017/04/23 17:55] – lamboringo | linux:rsync [2019/03/19 07:55] (current) – lamboringo | ||
---|---|---|---|
Line 32: | Line 32: | ||
System and data backup | System and data backup | ||
- | time rsync --dry-run --exclude ' | + | |
- | time rsync --dry-run --exclude ' | + | |
- | time rsync --exclude ' | + | time rsync --dry-run |
+ | time rsync | ||
+ | # win | ||
+ | time rsync --dry-run --exclude ' | ||
+ | time rsync --dry-run --exclude ' | ||
+ | |||
+ | === clone sth like the usb key you bootde from === | ||
+ | partitions (lsblk) | ||
+ | sdc 8:32 | ||
+ | ├─sdc1 | ||
+ | ├─sdc2 | ||
+ | ├─sdc3 | ||
+ | └─sdc4 | ||
+ | then rsync(s) | ||
+ | time rsync --dry-run --itemize-changes -a --stats -h /boot/ / | ||
+ | time rsync --dry-run --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / / | ||
+ | time rsync --dry-run --itemize-changes -a --stats -h /home/ / | ||
+ | tests & edit & run | ||
+ | mount --bind /dev / | ||
+ | # same for sys & proc | ||
+ | # edit / | ||
+ | ll / | ||
+ | chroot / | ||
+ | # grub2-install /dev/sd?? /dev/sda or /dev/sdb or /dev/sdc usually | ||
+ | umount / | ||
+ | umount / | ||
+ | umount / | ||
+ | umount / | ||
+ | umount / | ||
+ | umount / | ||
+ | / | ||
+ | # reboot | ||
+ | |||
+ | == links == | ||
+ | |||
+ | * https:// |