BackupPC-users

Re: [BackupPC-users] localhost tar exit 512

2015-06-21 10:56:58
Subject: Re: [BackupPC-users] localhost tar exit 512
From: Michael Stowe <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 21 Jun 2015 09:53:41 -0500
On 2015-06-21 07:38, Robert Wooden wrote:
> Here is the error log (U12.04):
> 
> Running: /usr/bin/sudo /bin/tar -v -f - -C / --totals ./proc ./dev
> ./tmp ./mnt ./media ./sys ./lost+found ./usr/src ./var/lib ./var/tmp
> ./var/cache ./var/spool ./var/run ./var/lock ./var/games
> ./home/*/.Trash ./home/*/.mozilla/*/*/Cache
> ./home/*/.mozilla/*/*/.Cache.Trash ./home/partimag
> full backup started for directory /
> Xfer PIDs are now 18900,18899
> /bin/tar: You must specify one of the '-Acdtrux', '--delete' or
> '--test-label' options
> Try '/bin/tar --help' or '/bin/tar --usage' for more information.
> Tar exited with error 512 () status
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0
> sizeExistComp, 0 filesTotal, 0 sizeTotal
> Got fatal error during xfer (No files dumped for share /)
> Backup aborted (No files dumped for share /)
> Not saving this as a partial backup since it has fewer files than the
> prior one (got 0 and 0 files versus 0)
> 
> I am getting the same errors on the newer Ubuntu 14.04 machine.
> 
> What is the "You must specify one . . . " statement in the log?
> Any ideas what might be wrong?

Well, sure.  You must specify one of the '-Acdtrux', '--delete' or 
'--test-label' options to tar.  See where it says "Running:" and then 
your "tar" command line?  There's no command there to tell tar to do 
anything.

$TarClientCmd, for example, is usually something like '/usr/bin/sudo 
$tarPath -c -v -f - -C $shareName+ --totals' -- if you notice that first 
"-c" in the command line, it's the one that tells tar to actually create 
an archive (as opposed to complaining that you've neglected to tell it 
to do anything.)

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>