My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
svnbackupManpage  
svnbackup manpage
manpage
Updated Feb 4, 2010 by doug.hel...@gmail.com

NAME

svnbackup - Backup script for subversion repositories.


SYNOPSIS

svnbackup.sh [options] svn_repository_path


DESCRIPTION

This 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 BACKUPS

The 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.


EXAMPLES

svnbackup.sh -v -i 100 --scp user@backupserver:/backups/svn /svn/Project


ENVIRONMENT

svnbackup uses no environment variables.


AUTHOR

Doug Hellman <doug.hellmann@gmail.com>


SEE ALSO

svnadmin

The subversion admin command for applying dumps


BUGS

None known for version 1.4.


LATEST VERSION

You can obtain the latest version from the author's homepage at http://code.google.com/p/svnautobackup/


Sign in to add a comment
Powered by Google Project Hosting