rajeshkumar created the topic: Automatic backup all SVN repositories
Here’s a shell script I use to automatically backup all of my subversion (svn) repositories.
I use Dropbox to put my backups in – it gives you easy to manage backups in the cloud for free (Free account gives you up to 2GB of storage) and pushing all backups to any machines on which you have the Dropbox setup. It’s very simple to get it working as a linux daemon with CLI only too.
for repos in
ls /var/opt/svn/ ; do
svnadmin dump -q $RESPOS_DIR | gzip > ~backup/Dropbox/backups/svn/$repos.dump.gz;
chgrp backup $RESPOS_DIR;
Twitt me @ twitter.com/RajeshKumarIn
Latest posts by Rajesh Kumar (see all)
- Docker Private registry using Nexus, Artifactory or Docker Registry - February 21, 2020
- Docker Errors and Solutions Database - February 21, 2020
- List of Top DevOps Tools For SAP and ABAP - February 19, 2020