BackupPC-users

Re: [BackupPC-users] Restore not working

2014-07-07 19:57:34
Subject: Re: [BackupPC-users] Restore not working
From: Holger Parplies <wbppc AT parplies DOT de>
To: raceface <raceface_the_one AT gmx DOT net>
Date: Tue, 8 Jul 2014 01:56:24 +0200
Hi,

raceface wrote on 2014-07-06 18:01:55 +0200 [[BackupPC-users] Restore not 
working]:
> [mostly empty lines]
> /usr/bin/sudo /tar/tarRestore -x -p --numeric-owner --same-owner -v -f - -C 
> $shareName
> [...]
> #!/bin/sh
> exec /bin/tar -M -x -f - &quot;$@&quot;
> [...]
> /bin/tar: Options `--f' and `--f' both want standard input
> [...]
> Does anybody has any ideas?

yes:

1.) If you have nothing to say, do so. We don't need hundreds of empty lines.
2.) Get rid of that script 'tarRestore'. It's confusing you to the point you
    don't see the obvious: 'tar' only wants *one* '-f' option, not two. It's
    also very pointless. If you think you're making things more secure, you're
    wrong - quite the opposite is the case. Just replace '/tar/tarRestore'
    with '$tarPath' as it used to be. The rest of your command line seems ok.
3.) Multi-volume tars? Honestly?

Hope that helps.

Regards,
Holger

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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>