btrfs send /backup/home-snapshot | btrfs receive /mnt/backup

Category: Backup & Restore

btrfs send /backup/home-snapshot | btrfs receive /mnt/backup

Stream a snapshot to another disk or host

Pipes the read-only snapshot's data to btrfs receive, which writes it onto another filesystem, locally or, with an ssh pipe, remotely. The receiving filesystem must be btrfs. Restoring is just a snapshot of the received copy. Related: incremental sends with -p.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.