Felix E. Klee | 13 Dec 2004 01:22
Picon
Gravatar

Why no incremental dumps with "list="?

Hi,

yesterday, I downloaded the star 1.5a54, and I do appreciate the improvements
from version 1.5a47.  However, to me it appears that the new version still
doesn't treat the option "list=" correctly when doing incremental dumps.  The
attached script produces the following output:

star: No such file or directory. Warning no /tmp/star-test/dumps.
star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
Dump record  level 0P dump: Mon Dec 13 01:11:44 2004 written
star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
Dump record  level 1P dump: Mon Dec 13 01:11:45 2004 written

Contents of /tmp/star-test/0.tar:
/tmp/star-test/2backup/
/tmp/star-test/2backup/a
star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).

Contents of /tmp/star-test/1.tar:
/tmp/star-test/2backup/
/tmp/star-test/2backup/a
/tmp/star-test/2backup/b
star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).

Why is "/tmp/star-test/2backup/a" included in 1.tar, although it hasn't been
changed in between partial dumps?

The option "list=" is important for me to limit the number of files used in a
dump.  In addition, I plan to use "pattern=" to exclude files in directories
specified by "list=".  And, yes, I am aware that moving files between areas
(Continue reading)

Joerg Schilling | 13 Dec 2004 18:30
Picon
Favicon

Re: Why no incremental dumps with "list="?

"Felix E. Klee" <felix.klee <at> inka.de> wrote:

> Hi,
>
> yesterday, I downloaded the star 1.5a54, and I do appreciate the improvements
> from version 1.5a47.  However, to me it appears that the new version still
> doesn't treat the option "list=" correctly when doing incremental dumps.  The
> attached script produces the following output:

You cannot do incremental dumps with list=

> The option "list=" is important for me to limit the number of files used in a
> dump.  In addition, I plan to use "pattern=" to exclude files in directories
> specified by "list=".  And, yes, I am aware that moving files between areas
> that aren't dumped and areas that are dumped causes trouble.

Yuu may use patterns in case you know exaclty what you are doing.
You cannot use list=

Jörg

--

-- 
 EMail:joerg <at> schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js <at> cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling <at> fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
Felix E. Klee | 14 Dec 2004 00:37
Picon
Gravatar

Re: Why no incremental dumps with "list="?

At Mon, 13 Dec 2004 18:30:42 +0100,
Joerg Schilling wrote:
> You cannot do incremental dumps with list=
> 
> > [...]
> 
> Yuu may use patterns in case you know exaclty what you are doing.
> You cannot use list=

Hm.  I wonder why "pattern=" is allowed, but "list=" isn't.  The problem
with patterns is that they're either *all* include patterns or *all*
exclude patterns.  For example, I'd like to include /home/felix and /etc
but exclude /home/felix/dont-backup and /home/felix/.netscape/cache.
But, oh well, I guess I should reconsider my partitioning scheme.

Felix
Felix E. Klee | 14 Dec 2004 00:45
Picon
Gravatar

Re: Why no incremental dumps with "list="?

At Mon, 13 Dec 2004 18:30:42 +0100,
Joerg Schilling wrote:
> You cannot do incremental dumps with list=
> 
> > [...]
> 
> Yuu may use patterns in case you know exaclty what you are doing.
> You cannot use list=

Hm.  I wonder why "pattern=" is allowed, but "list=" isn't.  The problem
with patterns is that they're either *all* include patterns or *all*
exclude patterns.  For example, I'd like to include /home/felix and /etc
but exclude /home/felix/dont-backup and /home/felix/.netscape/cache.
But, oh well, I guess I should reconsider my partitioning scheme.

Felix
Joerg Schilling | 14 Dec 2004 01:50
Picon
Favicon

Re: Why no incremental dumps with "list="?

"Felix E. Klee" <felix.klee <at> inka.de> wrote:

> At Mon, 13 Dec 2004 18:30:42 +0100,
> Joerg Schilling wrote:
> > You cannot do incremental dumps with list=
> > 
> > > [...]
> > 
> > Yuu may use patterns in case you know exaclty what you are doing.
> > You cannot use list=
>
> Hm.  I wonder why "pattern=" is allowed, but "list=" isn't.  The problem
> with patterns is that they're either *all* include patterns or *all*
> exclude patterns.  For example, I'd like to include /home/felix and /etc
> but exclude /home/felix/dont-backup and /home/felix/.netscape/cache.
> But, oh well, I guess I should reconsider my partitioning scheme.

Star needs a "closed" and complete view of the tree.

You may exclude a single part of the tree with pattern=
If you use list= this is no longer granted.

Jörg

--

-- 
 EMail:joerg <at> schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js <at> cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling <at> fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
(Continue reading)

Felix E. Klee | 14 Dec 2004 03:19
Picon
Gravatar

Re: Why no incremental dumps with "list="?

At Tue, 14 Dec 2004 01:50:05 +0100,
Joerg Schilling wrote:
> Star needs a "closed" and complete view of the tree.

But it can be any tree on a partition?  For example, I tried "-C
<something_other_than_/>", and incremental dumps worked similar to
incremental dumps of an entire partition.

Felix
Joerg Schilling | 14 Dec 2004 14:53
Picon
Favicon

Re: Why no incremental dumps with "list="?

"Felix E. Klee" <felix.klee <at> inka.de> wrote:

> At Tue, 14 Dec 2004 01:50:05 +0100,
> Joerg Schilling wrote:
> > Star needs a "closed" and complete view of the tree.
>
> But it can be any tree on a partition?  For example, I tried "-C
> <something_other_than_/>", and incremental dumps worked similar to
> incremental dumps of an entire partition.

A single "dump" can be any tree on a single filesystem.

You may chose a single sub tree and you may chose to exclude one
or more "closed" and complete sub trees from the tree that is archived.

Jörg

--

-- 
 EMail:joerg <at> schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js <at> cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling <at> fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
Beto Reyes | 14 Dec 2004 18:05
Picon
Favicon

Re: Why no incremental dumps with "list="?

I think you should consider the "dump" attribute of files/directories, which
are read by star when nodump flag is used, so you just 

chattr +d [file|directory]

and the file/directory will not be tared when the nodump flag is used..

you could use something like

find -iname cache -exec chattr +d {} \; && tar cfz backp.tgz -nodump /home/user

On Mon, Dec 13, 2004 at 01:22:27AM +0100, Felix E. Klee wrote:
> Hi,
> 
> yesterday, I downloaded the star 1.5a54, and I do appreciate the improvements
> from version 1.5a47.  However, to me it appears that the new version still
> doesn't treat the option "list=" correctly when doing incremental dumps.  The
> attached script produces the following output:
> 
> star: No such file or directory. Warning no /tmp/star-test/dumps.
> star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
> Dump record  level 0P dump: Mon Dec 13 01:11:44 2004 written
> star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
> Dump record  level 1P dump: Mon Dec 13 01:11:45 2004 written
> 
> Contents of /tmp/star-test/0.tar:
> /tmp/star-test/2backup/
> /tmp/star-test/2backup/a
> star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
> 
(Continue reading)

Beto Reyes | 14 Dec 2004 18:18
Picon
Favicon

incremental & compression

I'm testing the multivolume feature within the compression and the files
created are smaller than the tsize, I suppouse that the star is not
considering the compression for achiving the tsize, so resultant files are
smaller than the tsize.... am I right with my supposition? is there any way
to force star to create multivolumes compressed with the same size?

Thanks is advance
--

-- 
Linux es el proceso de colaboración humana e internacional más sensacional
de la época postmoderna, que es una extraordinaria expresión de la
LIBERTAD en la DIVERSIDAD (Ian Murdock)         Debian GNU/Linux 2.6.9-ck3
Felix E. Klee | 14 Dec 2004 22:42
Picon
Gravatar

Re: Why no incremental dumps with "list="?

At Tue, 14 Dec 2004 11:05:46 -0600,
Beto Reyes wrote:
> I think you should consider the "dump" attribute of files/directories, which
> are read by star when nodump flag is used, so you just 

Thanks for pointing this out.  However, I guess this doesn't go together
with my backup strategy: I use several parameter files specifying
different areas of a file system to be backed up.  I don't alway backup
the same set of files/directories.

Felix

Gmane