Hello all,

Just to keep the amount of messages down, I'll respond to several questions at once.

Robert wrote:

Is tar on the OP system actually GNUTar? On *Linux* systems it generally
is, but I am not certain about *commercial* UNIX systems...

It is true that 'standard' tar on FreeBSD is BSD tar not GNU tar, but GNU tar is always installed together with Amanda (as /usr/local/bin/gtar) and Amanda is configured to use that - the runtar.*.debug files show that /usr/local/bin/gtar is being launched.

$ /usr/local/bin/gtar --version
tar (GNU tar) 1.22
Copyright (C) 2009 Free Software Foundation, Inc.

Does the disk spec in the disklist file contain wildcards?  tar ...
--one-file-system /storage/* will backup both disks (and no others
mounted under them).

Nope, there are no wildcards in the disklist

Nathan wrote:

 $ stat -f "%N %d" /storage /storage/<some-file-not-under-lists>
 $ stat -f "%N %d" /storage/lists /storage/lists/<some-filename>

Does that in fact show a different device number for the two
different commands (but the same device number for the two files in each
command)?

Yes, it does:

# stat -f "%N %d" /storage /storage/dumps/20120516/test.sql.gz
/storage 111
/storage/dumps/20120516/test.sql.gz 111

# stat -f "%N %d" /storage/lists /storage/lists/bbb
/storage/lists 125
/storage/lists/bbb 125

Do you also back up / on this system, by any chance?  If so, that would
seem to show that --one-file-system works some of the time.

Good point that I completely missed! This machine has been in backup for years, and disklist includes / with comp-root-tar dumptype. I'm sure I would have noticed if it suddenly would have baced up the entire machine, not just the 500 MB that are actually in /. None of the relevant dumptypes have been changed from their defaults in amanda.conf.

Jean-Louis wrote:

It might be a feature/bug with level 1 backup, try a full of /storage.

I did, and the dump of /storage did not include files under /storage/lists. So it *might* be a bug with level 1 backup, but in that case it's strange that it has never affected backup of /, as indicated by Nathan above.

--
Toomas Aas

Reply via email to