SVN Backups to Dropbox
A Python script for creating full or incremental SVN dumps and uploading the result to Dropbox. This combines the Apache SVN backup script with the Python Dropbox Uploader. For example, the following command will generate an incremental dump (
-i), gzip the result (
-z), and securely upload the resulting backup to Dropbox (
python svn-backup-dumps.py -z -i -t dropbox::username:password:/folder C:\SVN\data\repositories\MySVNRepo C:\SVNDumps
The last two arguments specify the repository location and the local directory where the backups are created. For incremental backups, do not delete the local backups as this script scans the existing backups to determine the last saved revision.
Additionally, this script uploads to Dropbox using their secure website. It is not necessary to have the Dropbox client installed on your computer. As a result, backups are only pushed to Dropbox. Deleted or corrupted local copies will not be synced with the copies on Dropbox.