meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:fs:btrfs:send [2024/11/20 18:40] – niziak | linux:fs:btrfs:send [2024/11/21 17:32] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== send / receive ====== | ====== send / receive ====== | ||
| + | |||
| + | grub-install --target=x86_64-efi --efi-directory=/ | ||
| + | update-grub | ||
| + | |||
| + | mount --rbind /dev / | ||
| + | mount --rbind /proc / | ||
| + | mount --rbind /sys / | ||
| + | chroot / | ||
| + | |||
| + | grub-install --target=x86_64-efi --efi-directory=/ | ||
| + | Installing for x86_64-efi platform. | ||
| + | grub-install: | ||
| + | |||
| ===== migrate to new storage ===== | ===== migrate to new storage ===== | ||
| Line 102: | Line 115: | ||
| <code bash> | <code bash> | ||
| - | rsync -avxHAXPW | + | rsync -avHAXPW |
| </ | </ | ||
| Try ssh to correct permission errors | Try ssh to correct permission errors | ||
| - | rsync -avxHAXPW | + | <code bash> |
| + | rsync -avHAXPW | ||
| + | </ | ||
| No need to add on not live FS: | No need to add on not live FS: | ||
| Line 125: | Line 140: | ||
| rsync -avxHAXPW --exclude=" | rsync -avxHAXPW --exclude=" | ||
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | rsync -avxHAXPW --numeric-ids / | ||
| - | |||
| - | |||
| - | rsync -arAXHvW --exclude=" | ||
| - | $ rsync -vuar host1:/ | ||
| tar: | tar: | ||
| - | * ' | + | * ''-c'' create |
| - | * -p, --preserve-permissions, | + | * '' |
| - | | + | * '' |
| - | ruser) | + | * '' |
| - | + | ||
| - | + | | |
| - | -s, --preserve-order, | + | |
| - | | + | |
| - | + | ||
| - | -f, --file=ARCHIVE | + | |
| - | | + | |
| - | | + | |
| - | + | ||
| - | + | ||
| Sender: | Sender: | ||
| <code bash> | <code bash> | ||