Del.Icio.Us Backup with Ruby and SQLite3

Well, Dayne lost all his Del.Icio.Us links today, so I decided I needed a backup script. So, after a slight amoung of googling, I had one. It’s very simple to use.

  • Download it and rename it to delicious-dump.rb.
  • Make an sqlite3 database:

touch delicious.db
  • Change the username and password to suit in the file:

# change credentials!
user = 'blargh23123'
pass = 'skizllal'
  • Run the script, using the db file as an argument:

ruby delicious-dump.rb delicious.db

Now, you can even cron it!


30 5 * * * ruby /home/blargh/delicious-dump.rb /home/blargh/delicious.db > /dev/null 2>&1

Congratulations, now you’ll never get Dayned.



Comments are closed