btrfs send using with copied snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



btrfs send has option -p to compare 2 snapshots and genereate output of 
diff and if btrfs receive is there it will get the diff.

lets say i have done my first backup 
/b1/s1 is my subvolume and snap1_s1 is first snapshot

ran command:

btrfse send /b1/snap1_s1 | btrfs receive /backup


then I will get my backup /backup/snap1_s1

next I have created 2nd snapshot /b1/snap2_s1

why cannot i do below

btrfs send -p /backup/snap1_s1 /b1/snap2_s1 |btrfs receive /backup

both sanp1_s1 and snap2_s2 are readonly

why there is a restriction of all snapshots should be under same root? 
can't I get the diff of copied snapshot i.e /backup/snap1_s1 (never 
changed) to new snapshot /b1/snap2_s1 ??

My case, i may not always keep previous snapshot but i have copied to 
backup using the snapshot.

In this case is there a way to backup only incrementals using backedup 
snapshot subvolume ?

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux