fieldsnyc: (Default)
[personal profile] fieldsnyc
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.
From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

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 Jul. 22nd, 2017 10:34 pm
Powered by Dreamwidth Studios