Initial import of dirvish-1.2.1.
dirvish is a backup system using rsync and link farms. Each image is a directory containing transfer log, summary, tree and if transfer errors were detected an rsync_error file. The transfer log retains the the output of any pre and post processing commands and the rsync log listing all files that were changed or added with some statistical information. The summary file contains all the information about how the image was created and meta-data for managing the image in config file format. Tree is the copy of the client tree. The client directory tree is compared with an existing image to create a new image. Unchanged files are shared between images. For changed files only those parts that actually change are transfered over the network. Unchanged portions of files are copied from the reference image. The resulting images contain complete copies of the original trees preserving ownership and file permissions. In this way even though the backups are made incrementally, each image can be used independently for restores or to make removable-media off-site copies or archives. The removal of an image will have no effect on other images.
This commit is contained in:
parent
5b5cce441b
commit
862495b9ca
4 changed files with 95 additions and 0 deletions
24
sysutils/dirvish/DESCR
Normal file
24
sysutils/dirvish/DESCR
Normal file
|
@ -0,0 +1,24 @@
|
|||
dirvish is a backup system using rsync and link farms.
|
||||
|
||||
Each image is a directory containing transfer log, summary, tree
|
||||
and if transfer errors were detected an rsync_error file. The
|
||||
transfer log retains the the output of any pre and post processing
|
||||
commands and the rsync log listing all files that were changed or
|
||||
added with some statistical information. The summary file contains
|
||||
all the information about how the image was created and meta-data
|
||||
for managing the image in config file format. Tree is the copy of
|
||||
the client tree.
|
||||
|
||||
The client directory tree is compared with an existing image to
|
||||
create a new image. Unchanged files are shared between images.
|
||||
For changed files only those parts that actually change are transfered
|
||||
over the network. Unchanged portions of files are copied from the
|
||||
reference image.
|
||||
|
||||
The resulting images contain complete copies of the original trees
|
||||
preserving ownership and file permissions. In this way even though
|
||||
the backups are made incrementally, each image can be used
|
||||
independently for restores or to make removable-media off-site
|
||||
copies or archives.
|
||||
|
||||
The removal of an image will have no effect on other images.
|
50
sysutils/dirvish/Makefile
Normal file
50
sysutils/dirvish/Makefile
Normal file
|
@ -0,0 +1,50 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dirvish-1.2.1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.dirvish.org/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= wiz@NetBSD.org
|
||||
HOMEPAGE= http://www.dirvish.org/
|
||||
COMMENT= Fast, disk based, rotating network backup system
|
||||
|
||||
DEPENDS+= rsync>=2.6.0:../../net/rsync
|
||||
DEPENDS+= p5-Getopt-Long>=2.35:../../devel/p5-Getopt-Long
|
||||
DEPENDS+= p5-Time>=2003.0:../../time/p5-Time
|
||||
DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
|
||||
|
||||
PKG_SYSCONFSUBDIR= dirvish
|
||||
|
||||
EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
|
||||
MAN5= dirvish.conf.5
|
||||
MAN8= dirvish.8 dirvish-runall.8 dirvish-expire.8 \
|
||||
dirvish-locate.8
|
||||
DOCS= COPYING FAQ.html INSTALL RELEASE.html TODO.html
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}; \
|
||||
for f in ${EXECUTABLES}; do \
|
||||
${ECHO} "#!${PERL5}" > $$f; \
|
||||
${ECHO} "\$$CONFDIR = \"${PKG_SYSCONFDIR}\";" >> $$f; \
|
||||
${CAT} $$f.pl >>$$f; \
|
||||
${CAT} loadconfig.pl >>$$f; \
|
||||
done
|
||||
|
||||
do-install:
|
||||
for f in ${EXECUTABLES}; do \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/sbin; \
|
||||
done
|
||||
for f in ${MAN5}; do \
|
||||
${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man5; \
|
||||
done
|
||||
for f in ${MAN8}; do \
|
||||
${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man8; \
|
||||
done
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dirvish
|
||||
for f in ${DOCS}; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dirvish; \
|
||||
done
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
16
sysutils/dirvish/PLIST
Normal file
16
sysutils/dirvish/PLIST
Normal file
|
@ -0,0 +1,16 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
|
||||
sbin/dirvish
|
||||
sbin/dirvish-runall
|
||||
sbin/dirvish-expire
|
||||
sbin/dirvish-locate
|
||||
man/man5/dirvish.conf.5
|
||||
man/man8/dirvish.8
|
||||
man/man8/dirvish-runall.8
|
||||
man/man8/dirvish-expire.8
|
||||
man/man8/dirvish-locate.8
|
||||
share/doc/dirvish/COPYING
|
||||
share/doc/dirvish/FAQ.html
|
||||
share/doc/dirvish/INSTALL
|
||||
share/doc/dirvish/RELEASE.html
|
||||
share/doc/dirvish/TODO.html
|
||||
@dirrm share/doc/dirvish
|
5
sysutils/dirvish/distinfo
Normal file
5
sysutils/dirvish/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2006/07/24 18:29:23 wiz Exp $
|
||||
|
||||
SHA1 (dirvish-1.2.1.tgz) = 0923245c10702ae8015b5b54dcffb051be531d8d
|
||||
RMD160 (dirvish-1.2.1.tgz) = 7839fa032bf43a55527c23dd934961d7a11cd5fc
|
||||
Size (dirvish-1.2.1.tgz) = 49156 bytes
|
Loading…
Reference in a new issue