[Libguestfs] Question about "btrfs send/receive" cmd

Cao jin caoj.fnst at cn.fujitsu.com
Tue Jun 23 06:57:30 UTC 2015


Hi,
     I am considering implement "btrfs send/receive" API in libguestfs. 
But seems its usual condition is incremental backup which is pretty 
complicated (see 5.7.1: 
http://docs.oracle.com/cd/E37670_01/E37355/html/ol_sendrecv_btrfs.html) 
and not suitable for implementation as I think.

So I am considering, does it make sense to implement a simplest form:

     $ btrfs send -f sent_file subvol
     $ btrfs receive -f sent_file mountpoint

which just backup a subvolume and restore it.

Anyone have suggestions?

-- 
Yours Sincerely,

Cao Jin




More information about the Libguestfs mailing list