btrfs send/receive issues

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

 



Hi,

I want to do a backup of a btrfs subvolume from one disk to another
disk, both with btrfs filesystems, using the btrfs  send receive
functionality. I do 

cd /media/miguel/btrfs_backup/
mkdir backups
sudo btrfs send /mnt/@backup2 | sudo btrfs receive /media/miguel/btrfs_backup/backups/

and this works fine, the @backup2 subvolume is created
at /media/miguel/btrfs_backup/backups/. Then I try to send a second
snapshot taken after @backup2 :

sudo btrfs send -p /mnt/@backup2 /mnt/@backup3 | sudo btrfs receive /media/miguel/btrfs_backup/backups/

And I get:

At subvol /mnt/@backup3
At snapshot @backup3
ERROR: open backups/@backup2 failed. No such file or directory

But @backup2 is a subvolume in /media/miguel/btrfs_backup/backups/ 

I'm I doing something wrong ?

best,
-- 
Miguel Negrão
http://www.friendlyvirus.org/miguelnegrao



--
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