All of lore.kernel.org
 help / color / mirror / Atom feed
* Announcement: buttersink - like rsync for btrfs snapshots
@ 2014-08-11 17:49 Ames Cornish
  2014-08-11 17:57 ` Jim Salter
  0 siblings, 1 reply; 6+ messages in thread
From: Ames Cornish @ 2014-08-11 17:49 UTC (permalink / raw)
  To: linux-btrfs

I've written a utility to help me with using btrfs send and receive for 
backups or other synchronization, and I'd love to get feedback on it.  

As of this release, buttersink will synchronize a set of read-only snapshots 
in a btrfs filesystem to an Amazon S3 bucket, and vice-versa.  It 
intelligently picks parent snapshots to "diff" from, so that a minimal amount 
of data needs to be sent over the wire and stored in the backend.  

The utility is on PyPi as "buttersink", and the GitHub page is here: 
  https://github.com/AmesCornish/buttersink.  

Thanks in advance for any feedback!

- Ames



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcement: buttersink - like rsync for btrfs snapshots
  2014-08-11 17:49 Announcement: buttersink - like rsync for btrfs snapshots Ames Cornish
@ 2014-08-11 17:57 ` Jim Salter
       [not found]   ` <CAP6pX24fWPrZ3368WxaViYT2_N2WcCWtso3KqxF_SRrDTS54xQ@mail.gmail.com>
  2014-08-11 18:08   ` Ames Cornish
  0 siblings, 2 replies; 6+ messages in thread
From: Jim Salter @ 2014-08-11 17:57 UTC (permalink / raw)
  To: Ames Cornish, linux-btrfs

How has it been for reliability?

I wrote a btrsync app a while back, and the app /itself/ worked fine, 
but the btrfs send / btrfs receive itself proved problematic.  Since 
btrfs would keep a partial receive - with no easy way to tell whether a 
receive WAS partial or full - I would inevitably end up with interrupted 
sends causing a problem that couldn't be resolved without manually 
deleting snapshots on the target end haphazardly until I nailed the 
incomplete one.

On 08/11/2014 01:49 PM, Ames Cornish wrote:
> I've written a utility to help me with using btrfs send and receive for
> backups or other synchronization, and I'd love to get feedback on it.
>
> As of this release, buttersink will synchronize a set of read-only snapshots
> in a btrfs filesystem to an Amazon S3 bucket, and vice-versa.  It
> intelligently picks parent snapshots to "diff" from, so that a minimal amount
> of data needs to be sent over the wire and stored in the backend.
>
> The utility is on PyPi as "buttersink", and the GitHub page is here:
>    https://github.com/AmesCornish/buttersink.
>
> Thanks in advance for any feedback!
>
> - Ames
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcement: buttersink - like rsync for btrfs snapshots
       [not found]     ` <CAP6pX26e79LZzMMwdeE7JOeGyoLtRxqvJhScBX1LDEwJ7UNe3Q@mail.gmail.com>
@ 2014-08-11 18:08       ` Jim Salter
  2014-08-12 17:44         ` Clemens Eisserer
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Salter @ 2014-08-11 18:08 UTC (permalink / raw)
  To: Ames Cornish; +Cc: Ames Cornish, linux-btrfs

To any core btrfs devs who are listening and care - the unreliability of 
btrfs send/receive is IMO the single biggest roadblock to adoption of 
btrfs as a serious next-gen FS.

I can live with occasional corner-case performance issues, I can even 
live with (very) occasional filesystem corruption... IF I can rely on 
replication to keep my data safe on another box.  Without the 
replication, there's just no reasonable case to be made to replace ZFS.

On 08/11/2014 02:05 PM, Ames Cornish wrote:
> Jim,
>
> btrfs send reliability has been an issue, though I've been able to 
> successfully use it for my backups.  buttersink usually detects the 
> errors and will either move the destination snapshot to mark it as 
> partial/failed (for btrfs), or cancel and delete the partial upload 
> (for S3).  I've also found that it helps to wait a while (e.g. 30 
> seconds) after any volume deletes before trying the send/sync.  I hope 
> btrfs-progs will get more reliable, too.
>
> - Ames


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcement: buttersink - like rsync for btrfs snapshots
  2014-08-11 17:57 ` Jim Salter
       [not found]   ` <CAP6pX24fWPrZ3368WxaViYT2_N2WcCWtso3KqxF_SRrDTS54xQ@mail.gmail.com>
@ 2014-08-11 18:08   ` Ames Cornish
  1 sibling, 0 replies; 6+ messages in thread
From: Ames Cornish @ 2014-08-11 18:08 UTC (permalink / raw)
  To: Jim Salter; +Cc: Ames Cornish, linux-btrfs

Jim,

btrfs send reliability has been an issue, though I've been able to
successfully use it for my backups.  buttersink usually detects the
errors and will either move the destination snapshot to mark it as
partial/failed (for btrfs), or cancel and delete the partial upload
(for S3).  I've also found that it helps to wait a while (e.g. 30
seconds) after any volume deletes before trying the send/sync.  I hope
btrfs-progs will get more reliable, too.

- Ames

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcement: buttersink - like rsync for btrfs snapshots
  2014-08-11 18:08       ` Jim Salter
@ 2014-08-12 17:44         ` Clemens Eisserer
  0 siblings, 0 replies; 6+ messages in thread
From: Clemens Eisserer @ 2014-08-12 17:44 UTC (permalink / raw)
  To: Jim Salter, linux-btrfs

Hi Jim,

> To any core btrfs devs who are listening and care - the unreliability of
> btrfs send/receive is IMO the single biggest roadblock to adoption of btrfs
> as a serious next-gen FS.

For you it are send/receive deficiencies, however there are many other
feature/enhancement requests having top priority for other users.

Fact is, just crying for improvements won't make things better - if
you want a feature/enhancement done, you have several options:
- Implement/fix it yourself
- Go to your distribution provider with whom you have a support
contract and make him implement what you would like to see
- Sponsor somebody yourself to get it sone.

> with (very) occasional filesystem corruption... IF I can rely on replication
> to keep my data safe on another box.  Without the replication, there's just
> no reasonable case to be made to replace ZFS.

... and now the usual ZFS comparison to make devs jealous ;)

Best regards, Clemens

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Announcement: buttersink - like rsync for btrfs snapshots
@ 2014-08-24  3:08 Shriramana Sharma
  0 siblings, 0 replies; 6+ messages in thread
From: Shriramana Sharma @ 2014-08-24  3:08 UTC (permalink / raw)
  To: linux-btrfs

https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg36293.html
says ButterSink will detect errors with backups. Anyone else except
the author tried this?

I'd like to know if any experienced person (other than the author,
with all due respect) has tried this backup utility and would like
their review...

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-24  3:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 17:49 Announcement: buttersink - like rsync for btrfs snapshots Ames Cornish
2014-08-11 17:57 ` Jim Salter
     [not found]   ` <CAP6pX24fWPrZ3368WxaViYT2_N2WcCWtso3KqxF_SRrDTS54xQ@mail.gmail.com>
     [not found]     ` <CAP6pX26e79LZzMMwdeE7JOeGyoLtRxqvJhScBX1LDEwJ7UNe3Q@mail.gmail.com>
2014-08-11 18:08       ` Jim Salter
2014-08-12 17:44         ` Clemens Eisserer
2014-08-11 18:08   ` Ames Cornish
  -- strict thread matches above, loose matches on Subject: below --
2014-08-24  3:08 Shriramana Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.