[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backuppc errore tar 512




Come apro i log (/var/lib/backuppc/pc/localhost/XferLOG.bad.z)? dabackuppc mi da solo gli eventi e non i singoli file e non si aprono con notepad++ e non sono veri e propri archivi
Il 13/03/2013 11:59, Luca Costantino ha scritto:
Il 13 marzo 2013 11:49, Dott. Giovanni Bonenti <gbonenti@sirm.org> ha scritto:
Non sono un esperto di backup, ma così a prima vista consultare il man di
tar per capire a cosa corrisponde l'errore 512 potrebbe aiutare.

A tar exit status of 2 (= 512) is a failure, either fatal or minor. This
is probably something like a file that it couldn't read, or perhaps a
file that changed while it was being dumped by tar.

Try this example:

mkdir test
cd test
touch file1 file2
chmod 0 file1
tar cvf tar.out file1 file2
echo $status

Tar will produce this output:

tar: file1: Cannot open: Permission denied
file2
tar: Error exit delayed from previous errors

And the echo $status will print 2 (assuming you are using csh or tcsh),
which gets returned as 512 (exit_status << to BackupPC.

http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/tar-error-512-68957/



--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc

Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)




--
Nicola Scattolin
Ser.Tec s.r.l.
Via E. Salgari 14/E
31056 Roncade, Treviso
http://dpidgprinting.com


Reply to: