BackupPC-users

Re: [BackupPC-users] Error BackupPC_tarCreate

2013-04-10 12:45:40
Subject: Re: [BackupPC-users] Error BackupPC_tarCreate
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: Wed, 10 Apr 2013 11:12:16 -0500
> Hello,
>
> I'm trying to use the "program" BackupPC_tarCreate.
>
> I have a test-host wich has been backuped 4 times incrementally, and one
> time fully :
>      - 0 : Full
>      - 1 : Incr
>      - 2 : Incr
>      - 3 : Incr
>      - 4 : Incr
>
> So, I want to use tarCreate to make an archive of this host in the
> folder named "/home/testback". So, here's my command :
>
> # su backuppc
> $ /usr/share/backuppc/bin/BackupPC_tarCreate -t -h test-host -s * -n -1
> /home/testback/test.tar (to start from the last backup)

This calls for some speculation, but I can't help noticing that the
parameter that follows -s is "every file name in the current directory"
and not what you should be passing, which is the sharename.  I'm going to
go out on a limb here and say that your sharename probably isn't a star. 
If it is, you'll need to escape it to protect it from shell expansion,
e.g., \*.

I'm going to repeat that -- your sharename probably isn't *.

> I also used :
>      -    $  /usr/share/backuppc/bin/BackupPC_tarCreate -t -h test-host
> -s * -n 0 /home/testback/test.tar (to test with a positive number...?)
>      -    $  /usr/share/backuppc/bin/BackupPC_tarCreate -t -h test-host
> -s * -n -1 (to see if it was the path I put making mess...)
>
> The error message is still the same :
> /usr/share/backuppc/bin/BackupPC_tarCreate: bad dump number ''
>
> What this message stands for ? I didn't found any help on Google...

Let's just say that if you're filling the command line with random
garbage, you can't expect a whole lot of guidance from the error message.

> Thanks in advance
>
> Nicolas


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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>