Adam Fields (fieldsnyc) wrote,
Adam Fields

Backup delicious and lj

Here are crontab entries to back up your delicious and lj posts from a unix box on a daily basis:

30 6 * * * /usr/bin/wget -O /backup/web_services/delicious/delicious_`date +\%F`.xml
30 6 * * * /usr/bin/wget -O /backup/web_services/lj/lj_`date +\%F`.xml<USERNAME>/data/atom

This requires that your put your login information in .netrc (reminder - chmod 600). See man netrc for more info on that. Obviously, the directories you're backing up into must also exist.

This is particularly timely given the recent outages that has had.

  • Post a new comment


    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.