In this tip, we are going to see how to backup all your Delicious bookmarks via the command line. The tip will show you how to export all your Delicious bookmarks to an XML file.
The command given below is tested under Ubuntu 11.04, and it may run on other Linux-based operating systems.
So, launch the Terminal and issue this command:
curl -u username -o Delicious-Bookmarks.xml https://api.del.icio.us/v1/posts/all
Replace username with your own Delicious username, then hit Enter. Submit then the password you use to log in to your Delicious account. The Delicious bookmarks will be transferred to the Delicious-Bookmarks.xml file located in the Home folder.