|
svnbackupManpage
svnbackup manpage
manpage NAMEsvnbackup - Backup script for subversion repositories. SYNOPSISsvnbackup.sh [options] svn_repository_path DESCRIPTIONThis script dumps a subversion repository to a series of compressed files. It uses a local file to remember the last changeset dumped so the script can be used to generate files for backups. Using the --scp option, the backup files can be generated on one machine and copied to a backup server once dumped. OPTIONS-v set verbose mode on -i increment How many revisions to include in each dump file. -s start_rev First revision to dump. --scp remote Location for remote backups. Files are transfered via scp, then removed from the local directory. --identity ssh-key Identity file (private key) for scp transfer. --ssh-ops options options to use for scp --history-file Path and filename of history file to use. If you have more than one repository to backup you should have an own history file for each repository. Svnbackups stores the last revision dumped in this file. --out-dir directory name Path where svn dump files should be written, defaults to ``.'' RECOVERING BACKUPSThe backup format is a compressed svn dump file. To recover it, you can use the bzip2 utility to uncompress it, and svnadmin load (http://svnbook.red-bean.com/en/1.0/re36.html) to restore the changes. EXAMPLESsvnbackup.sh -v -i 100 --scp user@backupserver:/backups/svn /svn/Project ENVIRONMENTsvnbackup uses no environment variables. AUTHORDoug Hellman <doug.hellmann@gmail.com> SEE ALSOsvnadmin The subversion admin command for applying dumps BUGSNone known for version 1.4. LATEST VERSIONYou can obtain the latest version from the author's homepage at http://code.google.com/p/svnautobackup/ |