faubackup/src faubackup.in,1.4,1.5
Martin Waitz <[email protected]> Thu, 18 Mar 2004 00:17:49 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17819/src
Modified Files:
faubackup.in
Log Message:
support for --atime-preserve
Index: faubackup.in
===================================================================
RCS file: /cvsroot/faubackup/faubackup/src/faubackup.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** faubackup.in 22 Dec 2003 00:34:10 -0000 1.4
--- faubackup.in 18 Mar 2004 00:17:47 -0000 1.5
***************
*** 70,73 ****
--- 70,74 ----
$FAUBACKUP::keepdays = 7;
$FAUBACKUP::keeplastofday = 0;
+ $FAUBACKUP::atime_preserve = 0;
$FAUBACKUP::rsh = "rsh";
$FAUBACKUP::gather = "faubackup-gather";
***************
*** 83,87 ****
my( $backup, $autocreate, $rsh, $keep, $keeplastofday );
! my( $find, $getroot, @ignore );
$backup = $FAUBACKUP::backup;
$autocreate = $FAUBACKUP::autocreate;
--- 84,88 ----
my( $backup, $autocreate, $rsh, $keep, $keeplastofday );
! my( $find, $getroot, @ignore, $atime_preserve );
$backup = $FAUBACKUP::backup;
$autocreate = $FAUBACKUP::autocreate;
***************
*** 91,94 ****
--- 92,96 ----
$keep->{DAY} = $FAUBACKUP::keepdays;
$keeplastofday = $FAUBACKUP::keeplastofday;
+ $atime_preserve = $FAUBACKUP::atime_preserve;
$rsh = $FAUBACKUP::rsh;
$find = $FAUBACKUP::find;
***************
*** 367,370 ****
--- 369,373 ----
"days|d=i" => \$keep->{DAY},
"keep-last" => \$keeplastofday,
+ "atime-preserve" => \$atime_preserve,
# deprecated options:
"p" => \$ignored,
***************
*** 416,421 ****
@ignore = map {escape($_)} @ignore;
$gather = "$getroot $find @ignore | $getroot $FAUBACKUP::gather";
! $gather .= " -v" if $verbose && $gatherdir;
! $scatter = "$getroot $FAUBACKUP::scatter" . ($verbose?" -v":"");
#
--- 419,426 ----
@ignore = map {escape($_)} @ignore;
$gather = "$getroot $find @ignore | $getroot $FAUBACKUP::gather";
! $gather .= " --verbose" if $verbose && $gatherdir;
! $gather .= " --atime-preserve" if $atime_preserve;
! $scatter = "$getroot $FAUBACKUP::scatter";
! $scatter .= " --verbose" if $verbose;
#
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click