Skip to contentSkip to conversation

Question about "btrfs send/receive"

DISCUSSION Cao jin 2 participants 4 messages Jun 23, 2015 – Jun 24, 2015 Btrfs file system

lore
Share & tools
lore

Cao jin

author
#0 lore raw

Hi all,
I am considering implement the btrfs send/receive command in
libguestfs(http://libguestfs.org/), and found that incremental send seems pretty complicated. So my questions is:
1. What is the most usually usage of btrfs send/receive?
2. Does it make sense to implement the simplest form?

     $ btrfs send -f sent_file subvol

Could anyone give a introduction and suggestions?
Thanks in advance

Signature · 5 lines
Yours Sincerely,

Cao Jin
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
#1 lore raw
Quoted 7 lines · Cao jin

Hi all,
I am considering implement the btrfs send/receive command in
libguestfs(http://libguestfs.org/), and found that incremental send seems pretty complicated. So my questions is:
1. What is the most usually usage of btrfs send/receive?
2. Does it make sense to implement the simplest form?

     $ btrfs send -f sent_file subvol

Sure, have a look at this:
http://marc.merlins.org/perso/btrfs/2014-03.html#Btrfs-Tips_-Doing-Fast-Incremental-Backups-With-Btrfs-Send-and-Receive

Cheers,
Marc

Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  
author
#2 lore raw

Hi Marc,
I can`t access /perso/btrfs/2014-03.html on that server. But I
guess it has similar content as https://btrfs.wiki.kernel.org/index.php/Incremental_Backup ?
If so, I am afraid incremental backup not suitable for a API
implementation in libguestfs.
Is the simplest form a usual condition people will use for
subvolume backup? Is the simplest form make sense in daily life?

Quoted 15 lines · Marc MERLIN
Quoted 7 lines · Cao jin

Hi all,
I am considering implement the btrfs send/receive command in
libguestfs(http://libguestfs.org/), and found that incremental send seems pretty complicated. So my questions is:
1. What is the most usually usage of btrfs send/receive?
2. Does it make sense to implement the simplest form?

      $ btrfs send -f sent_file subvol

Sure, have a look at this:
http://marc.merlins.org/perso/btrfs/2014-03.html#Btrfs-Tips_-Doing-Fast-Incremental-Backups-With-Btrfs-Send-and-Receive

Cheers,
Marc

Signature · 3 lines
Yours Sincerely,

Cao Jin
#3 lore raw
Quoted 8 lines · Cao jin

Hi Marc,
I can`t access /perso/btrfs/2014-03.html on that server. But I
guess it has similar content as
https://btrfs.wiki.kernel.org/index.php/Incremental_Backup ?
If so, I am afraid incremental backup not suitable for a API
implementation in libguestfs.
Is the simplest form a usual condition people will use for
subvolume backup? Is the simplest form make sense in daily life?

Argh, you're probably trying to connect from China. If so, my apologies, after repeated abuse and attacks from too many Chinese netblocks and netblocks owners who never replied to any Email or did anything to address the issues reported, I was forced to block all of China.

You'll find a copy here:
https://web.archive.org/web/20150619002831/http://marc.merlins.org/perso/btrfs/2014-03.html
Scroll down to 2014/03/22

Cheers,
Marc

Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901