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

Re: tarsnap.conf & ^Q



On Sun, 06 Apr 2014 17:29:19 -0700
Colin Percival <cperciva@tarsnap.com> wrote:

> On 04/06/14 09:42, tarsnap wrote:
> > I have 2 issues remaining that keep puzzling me, maybe someone can
> > point out what I'm doing wrong?
> > 
> > 1. If I make a backup
> > ( sudo tarsnap -cpf <archive-name> <file-to-backup> ) it doesn't
> > find the file /usr/local/etc/tarsnap.conf without being directed to
> > it through the --configfile option.
> 
> That's odd.  What OS are you running and how did you install
> Tarsnap?  It may be that tarsnap is looking in a different directory.

Tarsnap is installed in a template VM of Qubes-OS.
Now after a reply by 'Tim Bishop', I found that the tarsnap.conf.sample
was located in /usr/etc/, so I will try to see what happens when I put
the .conf in there.

> > 2. Terminating a running backup through ^Q, seeing it finish
> > cleanly, and then repeating the same backup command later, gives me
> > a <quote>
> > An archive already exists with the
> > name "<archive-name>.part"
> > tarsnap: Error creating new archive
> > </quote>
> > Which surprises me, because it's documented as being supposed not to
> > do this.
> 
> This looks correct to me.  The first archive was truncated thanks to
> you hitting ^Q, so it had .part added to its name.

Yes, but wasn't it supposed to continue with building the archive
upon re-issuing the backup command?
As a side-note (see also another added post here) I must add that it
does not seem to exit totally cleanly, as the exit messages are:

tarsnap: Archive truncated
tarsnap: Error exit delayed from previous errors.

Could it be that the second message gives some indication that
re-issuing the same backup command won't work?

thanks