DragonFly commits List (threaded) for 2006-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/bin/cpdup cpdup.1 cpdup.c
dillon 2006/07/03 17:32:03 PDT
DragonFly src repository
Modified files:
bin/cpdup cpdup.1 cpdup.c
Log:
Add a new option -H <path> to cpdup. This option allows cpdup to be used
to create incremental backups.
cpdup operates per normal. However, if the -H option is specified with a
path to some prior (read-only) backup of the source tree, cpdup will
check whether the file in the source tree matches ethe file in the
prior backup and if it does it will create a hardlink from the prior backup
to the target tree instead of copying the file.
Warning: due to the way cpdup handles hardlinks, it must record the file
paths for all hardlinks it encounters while it is traversing the directory
tree. If copying a very large tree with lots (e.g. millions) of files it
is possible to run the process out of memory.
Revision Changes Path
1.11 +34 -1 src/bin/cpdup/cpdup.1
1.11 +104 -11 src/bin/cpdup/cpdup.c
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/cpdup.1.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/cpdup/cpdup.c.diff?r1=1.10&r2=1.11&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]