aphar ([personal profile] aphar) wrote2008-06-02 11:16 pm

LJ-backup.sh

I use linux, and I don't want to use a fancy-shmancy gui to backup my lj entries.
I want to use cron.
so here is what I do:
$ mkdir -p ~/save/lj
$ lj-backup.sh aphar 2008-06-01 mypassword
$ crontab -e

add this line
35 6 1 * *   /home/sds/bin/lj-backup.sh aphar


this is it: once a month the entries for the previous month are downloaded and zipped into an annual archive.

http://sds.podval.org/data/lj-backup.sh