Oct. 12th, 2004

fieldsnyc: (Default)
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 http://del.icio.us/api/posts/recent?count=100000
30 6 * * * /usr/bin/wget -O /backup/web_services/lj/lj_`date +\%F`.xml http://www.livejournal.com/users/<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 del.icio.us has had.

Profile

fieldsnyc: (Default)
fieldsnyc

December 2004

S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2017 11:11 am
Powered by Dreamwidth Studios