Log in

No account? Create an account
Brackup: call for testers - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

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

Brackup: call for testers [Mar. 21st, 2006|06:20 pm]
Brad Fitzpatrick
[Tags|, , ]

So, Brackup pretty much works now.

Go snag a copy:

$ svn co http://code.sixapart.com/svn/brackup/trunk brackup

Install any prereqs:

$ sudo apt-get install libdbd-sqlite3-perl gnupg

(gnupg is optional)

Run it to build a config template for you:

$ cd brackup; ./brackup --help
$ $EDITOR ~/.brackup.conf

Then do a backup:

$ ./brackup --from=projects --to=amazon

Except the Brackup::Target::Amazon is kinda broken. It depends on Net::Amazon::S3, which isn't entirely robust yet. (notably the return values on errors for all the operations are weird and inconsistent.... how do I know a key was created successfully?) Also, it seems Amazon S3 isn't entirely robust yet: after creating my account, I was only getting good-auth requests through once every 5 requests or so. Seems all their servers don't know I exist yet.

But the filesystem driver works. Try that.

And at this point you can start hacking more Brackup::Target subclasses and sending them to me for inclusion. I won't be doing anything but Filesystem and Amazon.

[User Picture]From: joshuak
2006-03-22 03:11 am (UTC)
I think the world needs Brackup::Target::Gmail... anyone want to do it? :)
(Reply) (Thread)
[User Picture]From: pne
2006-03-22 12:13 pm (UTC)
I was thinking that, too... there are a couple of modules people have developed to treat Gmail as file storage already.
(Reply) (Parent) (Thread)
From: trollll
2006-03-22 05:40 am (UTC)
doing a test run just across partitions at the moment.

what plans do you have for storage of more modules? Brackup::Rsync and Brackup::FTP would definitely fit well in the mix.
(Reply) (Thread)
[User Picture]From: brad
2006-03-22 05:59 am (UTC)
Brackup::Target::SCP and ::Rsync would be neat. I refuse to do FTP on grounds that I hate the FTP protocol. But I hope it's done anyway.
(Reply) (Parent) (Thread)
From: (Anonymous)
2006-03-22 08:04 pm (UTC)


Just implement the extentions via an API, and use Module::Pluggable. Then CPAN will take care of the rest of the extensions in a couple of days.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-03-22 08:26 am (UTC)

I put it to you that you hate me because you always release these cool toys when I'm too busy to play with them!

(Reply) (Thread)
[User Picture]From: dizzan
2006-03-22 07:35 pm (UTC)
I've been looking for something like this for a while. I've got everything set up and managed to do a successful backup to another partition and also to my S3 account. Is restore functionality implemented yet, or am I missing something?

On a side note, I sent you an email a while back about Fotobilder security issues (around when you had the XSS challenge). Did you happen to receive it or did it get filtered?

(Reply) (Thread)
[User Picture]From: brad
2006-03-23 12:13 am (UTC)
Restore!?! Hah... that costs extra! :-)

Did your email have XSS-LJ somewhere in the subject? If not, it might've got lost. Could you resend it?
(Reply) (Parent) (Thread)
From: (Anonymous)
2006-03-22 08:01 pm (UTC)

Brackup --> CPAN?

I was wondering how long this would take :)

So, any chance we can see this on CPAN, if only as a 0.01, so we can exploit rt.cpan and friends, the process of doing OS packages is trivialised, and we can start looking into building bigger things on top of it?
(Reply) (Thread)