tarsnap.conf ^Q
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. 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. Any hints? Thanks
Re: tarsnap.conf ^Q
For tarsnap.conf, where did you install tarsnap? Is it possible it's looking for /etc/tarsnap.conf instead? I'm not sure how to get tarsnap to tell you which config file it's built for, short of using strings and grep on the binary... And ^Q appears to be working exactly as I'd expect. ^Q, as I understand it, tells it to checkpoint before exiting. So this would leave a partial archive with a .part name. You then need to create the next archive with a new name. If this is documented differently somewhere I'd like to see it so I can educate myself :-) Tim. On Sun, Apr 06, 2014 at 07:11:25PM +, tarsnap wrote: I have to add to point 2, that this truncation is always followed by another error: tarsnap: Archive truncated tarsnap: Error exit delayed from previous errors. maybe that's just the cause of the errors that I get by reinstating the command? tarsnap: An archive already exists with the name filename.part tarsnap: Error creating new archive thanks On Sun, 6 Apr 2014 16:42:30 + tarsnap tars...@infopower.nl 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. 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. Any hints? Thanks -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x6C226B37FDF38D55
Re: tarsnap.conf ^Q
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. 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. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Re: tarsnap.conf ^Q
On Sun, 06 Apr 2014 17:29:19 -0700 Colin Percival cperc...@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