Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Brackup -- encrypted, over-the-net, multi-versioned backup [Mar. 19th, 2006|11:46 pm]
Brad Fitzpatrick
[Tags|, , ]

I've renamed wsbackup to "Brackup". dina suggested "ass that back up" or just "assthat", which we later evolved into "Back that NAS up" but it was getting complicated. So Brackup.

It's not done, but it's damn close. Here's svn (props to Artur for setting it up):


Here's my ~/.brackup.conf:
sammy:trunk $ cat ~/.brackup.conf
type = Filesystem
path = /raid/backup/brackup

path = /raid/bradfitz/proj/
chunk_size = 5m
gpg_recipient = 5E1B3EC5

chunk_size = 64MB
path = /raid/bradfitz/
ignore = ^\.thumbnails/
ignore = ^\.kde/share/thumbnails/
ignore = ^\.ee/minis/
ignore = ^build/
ignore = ^(gqview|nautilus)/thumbnails/
You define backup sources and targets, then do:

$ ./brackup --from=proj --to=raidbackups

The "type" parameter on a [TARGET:...] is the subclass of Brackup::Target to use for storage.



The main backup routine is simple, see Brackup::Backup's 'backup' method.

I'll post again when it works. For now you'll probably want to stay away. Everything's subject to change, so please delay writing new Target subclasses.

[User Picture]From: ydna
2006-03-20 08:49 am (UTC)
Just curious. Are you using a separate key specifically for this purpose?
(Reply) (Thread)
[User Picture]From: brad
2006-03-20 04:40 pm (UTC)
Yeah. But I never use gpg, so I just forgot that I already had a keypair, so I accidentally made another.
(Reply) (Parent) (Thread)
[User Picture]From: robflynn
2006-03-20 04:04 pm (UTC)
This is kind of interesting to me -- keep us (or at least my lazy ass) posted.
(Reply) (Thread)
[User Picture]From: dakus
2006-03-20 07:08 pm (UTC)
I woulda said "brakdup"
(Reply) (Thread)
[User Picture]From: cudddly
2006-03-20 11:06 pm (UTC)


Hey Brad, it all sounds pretty cool. Net::Amazon::S3 just hit CPAN. Plug it in make this a rocking backup tool ;-)
(Reply) (Thread)
[User Picture]From: brad
2006-03-21 12:08 am (UTC)

Re: Net::Amazon::S3

Artur told me that was in progress, so I waited. :-)

(Reply) (Parent) (Thread)