Initial import

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@415 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-07-30 12:58:09 +00:00
parent 0c504ced49
commit ef93fa6a16
3 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX svnbackup.pod 1677 RMD160 f6bcc4b07f6f885a430c9054600e5d699211fd0b SHA1 360310b691ee540ce4158b6bd83a6cee519b2f41 SHA256 f975e83365a37bf7f407f4bc0bb9766a246b888897450dc632605bced0075eae
DIST svnbackup-1.6.tar.gz 2312 RMD160 23a83fba7aabb94f80f4dc0e860e0d1709858c39 SHA1 610e5b67a09b43caaa8d3fa158a4facae9c97ca7 SHA256 f2e9afcae6a8d47d108894adedb8d4ed972e69a4751235352d9b695c2454223d
EBUILD svnbackup-1.6.ebuild 656 RMD160 7dc80873f2399fe6a76578da5674201af732d176 SHA1 1d4b156e40146e65fb7b074602972b12020e6645 SHA256 4c6c17763d5338eeac4090848c5735792c94efa4a7ab5226c91db71b9bdb086e

View File

@ -0,0 +1,83 @@
=head1 NAME
svnbackup - Backup script for subversion repositories
=head1 SYNOPSIS
B<svnbackup.sh> [I<options>] svn_repository_path
=head1 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.
=head2 OPTIONS
=over 5
=item B<-v >
set verbose mode on
=item B<-i increment>
How many revisions to include in each dump file.
=item B<-s start_rev>
First revision to dump.
=item B<--scp remote>
Location for remote backups. Files are transfered via scp,
then removed from the local directory.
=item B<--identity ssh-key>
Identity file (private key) for scp transfer.
=item B<--ssh-ops options>
options to use for scp
=item B<--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.
=item B<--out-dir directory name>
Path where svn dump files should be written, defaults to "."
=back
=head1 EXAMPLES
svnbackup.sh -v -i 100 --scp user@backupserver:/backups/svn /svn/Project
=head1 ENVIRONMENT
svnbackup uses no environment variables.
=head1 AUTHOR
Doug Hellman <doug.hellmann@gmail.com>
=head1 SEE ALSO
svnadmin The subversion admin command for applying dumps
=head1 BUGS
None known.
=head1 LATEST VERSION
You can obtain the latest version from the author's homepage at
http://www.doughellmann.com/projects/svnbackup/

View File

@ -0,0 +1,24 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="Subversion backup utilities"
SRC_URI="http://svnautobackup.googlecode.com/files/${P}.tar.gz"
HOMEPAGE="http://www.doughellmann.com/projects/svnbackup/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 -ppc -sparc -alpha"
IUSE=""
DEPEND="dev-lang/perl"
src_compile() {
mkdir man
pod2man --section=1 ${FILESDIR}/svnbackup.pod > man/svnbackup.1 || die "generation manpage for svnbackup.1 failed"
}
src_install() {
newbin svnbackup.sh svnbackup
dosed "s:last_saved:/var/tmp/svnbackup_history:" /usr/bin/svnbackup
doman man/*
}