Hi Anibal:
That's only an information, not a warning, from tar program. You can edit file $BACKUPPC_HOME/lib/BackupPC/Xfer/Tar.pm, line 227 and change the string "file is unchanged; not dumped" by the translation in spanish: "el fichero no ha cambiado; no se vuelca ". That's all.
Regards.
Date: Thu, 30 Nov 2006 12:32:24 -0200
From: Anibal Pacheco <[EMAIL PROTECTED]>
Subject: Re: [BackupPC-users] [Fwd: Re: error in "--newer" tar's
parameter]
To: backuppc-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1
Hi List, according with Holger's indications I have changed my script to
"$@" and no shell-scape is made in the variables in localhost.pl but now
I'm getting thousands of warnings (i think) messages from tar like this
(translated from spanish):"file was not changed, not dumped"
The original in spanish:
------------------------
Running: /usr/bin/sudo /root/bin/tarCreate -v -f - -C /etc --totals
--newer=2006-11-23 11:33:18 .
Xfer PIDs are now 25417,25416
/bin/tar: ./.java/.systemPrefs/.systemRootModFile: el fichero no ha
cambiado; no se vuelca
/bin/tar: ./.java/.systemPrefs/.system.lock: el fichero no ha cambiado;
no se vuelca
/bin/tar: ./R/repositories: el fichero no ha cambiado; no se vuelca
/bin/tar: ./R/Makeconf: el fichero no ha cambiado; no se vuelca
/bin/tar: ./R/Renviron: el fichero no ha cambiado; no se vuelca
.... and so on ....
Thank you if you can help me turn off this (I supose) warnings.
regards, anibal.
>
> You can EITHER use '$incrDate+' and '$fileList+' (actually, your $fileList is
> '.' as seen above, so as long as it stays that way, it won't make any
> difference whether you use '$fileList' or '$fileList+') OR change your script
> to use "$@" instead of $* (if it's that simple ... and, of course, if it's
> really a bourne shell script) such as
>
> exec /some/path/tar $some_extra_args "$@"
>
>
> Regards,
> Holger
>
--
Kiko Jover
Linux User #354256
JPL TSolucio S.L.
--
Kiko Jover
Linux User #354256
JPL TSolucio S.L.
|
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/