Thanks again Tino, I've stopped the backup.
If i type this command (with - - C)
/usr/bin/ssh -q -x -n -l pcambra 192.168.1.37 env LC_ALL=C sudo
/bin/tar -c -v -f - -C /home/pcambra --totals
I get this error:
/bin/tar: Cowardly refusing to create an empty archive
How can make a tar more brave? ;P
Thanks!
On Tue, Apr 8, 2008 at 2:33 PM, Tino Schwarze <backuppc.lists AT tisc DOT de>
wrote:
> On Tue, Apr 08, 2008 at 02:29:53PM +0200, Pedro Cambra wrote:
> > Thanks but if I put simply -C it doesn't work from command line (at
> > least for ubuntu)
> > I think I have get it, I was connecting by ssh with root and i should
> > do it with backuppc user on server, shouldn't I?
> >
> > Now i have another issue, when i do a full backup by tar, first it
> > occupies space on the client for making the tar, is that true? Can I
> > specify where I want to put this "temporary" tar?
>
> No, there shouldn't be a temporary tar - it should pipe the TAR output
> through the ssh connection and a special BackupPC process will receive
> the files.
>
> Ah, I've found it. Your "--C" option should be "- -C". It should look
> like this:
>
>
> > Running: /usr/bin/ssh -q -x -n -l pcambra 192.168.1.37 LC_ALL=C sudo
> > /bin/tar -c -v -f - -C /home/pcambra --totals .
>
> "-f -" instructs tar to output it's TAR file to standard out.
>
>
>
> HTH,
>
> Tino.
>
> --
> „Es gibt keinen Weg zum Frieden. Der Frieden ist der Weg." (Mahatma Gandhi)
>
> www.craniosacralzentrum.de
> www.forteego.de
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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/
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/
|