I wrote a backup-script, which starts from a cronjob. The script use the "hotcopy"-Function from SVN. It makes every day a Hotcopy from a folder, but not more than seven backups are on the system.
And the Subversion-System is backuped with bacula! This is the script: --- #!/bin/sh REPO_PATH=/var/lib/svn REPOS=`ls ${REPO_PATH}` BACKUP_DIR=/var/lib/backup/svn BACKUP_SCRIPT=/usr/bin/svnadmin ARGUMENT=hotcopy DATUM=`date +"-%Y-%m-%d_%A"` echo Repositories to Backup : ${REPOS} for i in ${REPOS} do echo Doing: ${BACKUP_SCRIPT} ${ARGUMENT} ${REPO_PATH}/$i ${BACKUP_DIR}/$i$DATUM ${BACKUP_SCRIPT} ${ARGUMENT} ${REPO_PATH}/$i ${BACKUP_DIR}/$i$DATUM done find ${BACKUP_DIR} -maxdepth 1 -mtime +5 | xargs rm -rf --- And this is the cronjob: --- 0 4 * * * /sbin/backup-svn.sh > /dev/null --- Mit freundlichen Grüßen Mario Constanti -----Ursprüngliche Nachricht----- Von: Bruno Friedmann [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2008 16:34 Cc: bacula-users@lists.sourceforge.net Betreff: Re: [Bacula-users] Subversion (fsfs) backups Brian Debelius wrote: > We dump the repos to files, and back up the dump files. > brian- > Same here, as this don't take to much time and place ( repos are quite small ) > > > Mike wrote: >> Folks, >> >> How do people backup their subversion repositories? >> >> I have a FSFS SVN repository that I'm looking to backup. I'd >> like to follow my usual routine of a couple of fulls a month and daily >> incrementals. I have read that this is possible as the filesystem laybe >> allows increamental backups to be sensibly taken. I have heard a few >> strategies: >> >> 1) JFDI (Just Do It): The svn repos can just be backed up nornally while >> online without any major damange >> >> 2) SVNhotbackup: Use the svnhotbackup util to take a full >> >> 3) Stop SVN, rsync to a staging area and backup the staging area >> >> I understand that 1 can be easy but occasionally messy, 2 destroys all >> hope of taking increamental backups and 3 is a bit of a pita to setup. >> >> What are people using for SVN backups and what do people recommend? >> >> Mike. >> >> > -- Bruno Friedmann ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users