Is it safe to use a network share as a BUP_DIR?

40 views
Skip to first unread message

Bruno Bigras

unread,
May 24, 2012, 9:26:06 AM5/24/12
to bup-...@googlegroups.com
Hi,

Is it safe to use a network share (CIFS mounted with autofs) BUP_DIR with bup?

What happens if the network share or the network goes down while a "bup save" is taking place? Will it resume gracefully the next time "bup save" is executed?

Thanks,

Bruno

Avery Pennarun

unread,
May 24, 2012, 4:01:36 PM5/24/12
to Bruno Bigras, bup-...@googlegroups.com
It should be okay. bup is pretty resilient and only creates new
packs, it doesn't rewrite existing ones. However, I'd still suggest
using something like 'bup save -r /path/to/cifs' instead of actually
putting your BUP_DIR there. That uses the bup remote protocol and
works the way bup is supposed to work: BUP_DIR is local (and thus very
fast, for the high-bandwidth activities) and the remote dir contains
the actual backup.

Have fun,

Avery
Reply all
Reply to author
Forward
0 new messages