Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick
brad

Brackup; updated Amazon code

Get Brackup 0.71 (just uploaded to CPAN too):

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

Then get my useful-return-value modifications to Net::Amazon::S3:

$ svn co http://code.sixapart.com/svn/Net-Amazon-S3

(I put them up there with svk, so hopefully it's easy for Leon to smerge.)

Setup your ~/.brackup.conf target:

[TARGET:amazon]
type = Amazon
aws_access_key_id = 196XAExxxxxxxPG2
aws_secret_access_key = IkNxxxxxxxxU8G0
exist_cache = /home/bradfitz/.amazon_chunks.db

[SOURCE:proj]
path = /raid/bradfitz/proj/
chunk_size = 5m
#gpg_recipient = 5E1B3EC5

The exist_cache makes "do you have this chunk already?" requests cached, so it flies now.

Then backup!

$ brackup --from=proj --to=amazon

yay.

Except occasionally Amazon gives you internal server errors. Not yay.
Tags: brackup, tech
Subscribe

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments