bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] incremental backups and --one-file-system (version 1.25)


From: Martin Weigel
Subject: [Bug-tar] incremental backups and --one-file-system (version 1.25)
Date: Mon, 15 Nov 2010 21:33:21 +0100

Hi,

I am having problems with incremental backups with
--listed-incremental and the --one-file-system option in 1.25 which,
essentially, does nothing. For example,

tar -c -f backup.tgz --listed-incremental=/backup/index --one-file-system /

only adds the directory "/", but no contents. I think this is because
of line 429 in the file "incremen.c" which should read

dev_t device = st->parent ? st->parent->stat.st_dev : st->stat.st_dev;

instead of

dev_t device = st->parent ? st->parent->stat.st_dev : 0;

since otherwise all paths which haven't had a parent in the current
backup will be ignored.

Martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]