This is one post in the continuing saga of my challenges of backing up fairly important personal data. Over the years I’ve accumulated a good collection of music. Much of it comes from ripped CDs that I own and can easily recover if the digital files are lost. The rest of my music is not as easily restored, being purchased from Amazon, iTunes, and eMusic. I already regularly backup important files using an rsync job run out of a daily crontab. I’d like to expand the cronjob to also backup my music as well.
To complicate matters, I don’t want all of my music backed up, just the purchased music. I have been good about using the Comments field in the ID3 tag to record the source of the music, so I wrote a short script (my first attempt at Python) to filter on that. The python script creates a new directory tree of symbolic links which are then followed by the rsync command to backup the full file.