[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive |
Date: |
Mon, 29 Aug 2016 11:40:09 +0200 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Ralph Corderoy <address@hidden> wrote:
> Hi Steffen,
>
> > So it collects a list of files in a textfile, and then either
> > $tarxcmd = "tar -c -f - | $COMPRESSOR > $ar";
> > or
> > $tarxcmd = "tar -r -f $ar >/dev/null";
>
> With the second of these, $ar isn't a compressed file name, like
> foo.tar.gz? Which was used for the problem tar file?
>
> > and then
> > unless (open XARGS, "| xargs -0 $tarxcmd 2>>$MFFN") {
>
> So xargs may run tar more than once, and if $#{$listref} has been
> growing then perhaps it's tipped over from one invocation to two
> recently?
If you like to create working incremental backups that are able to handle file
renames, you need to backup any filesystem with exactly one command run, so
xargs is a really bad idea.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/
http://sourceforge.net/projects/schilytools/files/'
- [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/27
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/27
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Ralph Corderoy, 2016/08/27
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive,
Joerg Schilling <=
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Ralph Corderoy, 2016/08/29
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/29
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Joerg Schilling, 2016/08/29
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/29
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Joerg Schilling, 2016/08/30
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/30
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Joerg Schilling, 2016/08/30
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/31
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Tim Kientzle, 2016/08/29
- Re: [Bug-tar] Monthly backup doesn't expand files, but which are in the archive, Steffen Nurpmeso, 2016/08/29