Le mercredi 24 Août 2005 13:34, Craig Barratt a écrit :
> Tony Del Porto writes:
> > On Aug 4, 2005, at 7:32 PM, Craig Barratt wrote:
> > > Tony Del Porto writes:
>
> The problem is that there is no --totals argument to tar, and
> BackupPC expects to see the output from the --totals at the
> very end of the archive.  Does xtar support --totals?
>
> Craig
>

i run in the same behaviour this days using backuppc 2.12 and gnutar to backup 
somes files on AIX (4.x and 5.x) systems.

I confirm the diagnostics of Craig about the --totals option, and i put here 
somes tricks than can help :

1 / 

the option --totals placed at the end of the commande ligne after the 
--exclude command does not works on AIX system ( gnutar version tar (GNU tar) 
1.15.1 )
so you have to modify the config.pl to move the --totals option before 
--exclude like this :

$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
                    . ' $tarPath -c -v --totals -f - -C $shareName+ ;'
                    
2 /

am using this software in France and then there is trouble parsing the result 
of the commande due to translation and "Locale" parameter


here is "french output"  of tar command :
/usr/local/bin/tar  -c -v -f mna.tar --totals Install*
InstallApache.sh
InstallAppliTomcat.sh
InstallTomcat.sh
Nombre total d'octets écrits: 30720 (30KiB, 392KiB/s)

so you can have to set the locale correctly to obtain correct answer, you do 
this by adding something like LANGUAGE=EN before the tar commande so the 
final $Conf{TarClientCmd} is :

$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host'
                    . ' LANGUAGE=EN $tarPath -c -v --totals -f - '
                    . ' -C $shareName+ ;'

hope this can help anybody and perhaps Craig can add those tricks to the FAQ 
of BackupPC online documentation.

bye.
Michael.
 
-- 
Quand quelqu'un dit qu'il est réaliste,
c'est qu'il s'apprête à faire quelque chose dont il a sacrement honte.
Sydney Harrys


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to