"John R. Jackson" wrote:
>
> >In a test, i removed the --listed-incremental /usr/....amanda_0.new
> >option, and tar archived all my files, just how i like it. Why does
> >Amanda put that option there? ...
>
> Ummm, because that's required to do incremental backups. :-)
>
> >And is it feasible/desirable to make it go
> >away for at least level 0 backups?
>
> Only if you don't want to do incrementals (in other words, no).
>
> For full dumps, as I recall, Amanda creates an empty file and gives that
> to gtar with --listed-incremental. You might try something like this:
>
> cp /dev/null /tmp/my-li-file
> gtar ... --listed-incremental /tmp/my-li-file ...
>
> and see what you get.
I got all nine items of my /home/amanda directory archived, unlike when
amdump ran it with option --listed-incremental
/usr/local/var/amanda/gnutar-lists/dellmachine_home_amanda_0.new. What
does this mean?
>
> >Another question: Why doesn't that /usr/...amanda_0.new file exist? I
> >have only a
> >/usr/local/var/amanda/gnutar-lists/dellmachine_home_amanda_0 file, with
> >contents 989184075
> >773 374412 ./.xauth).
>
> It probably did exist at the time Amanda ran. The ".new" in the name
> is a clue that Amanda is using that name and if everything goes right,
> it is renamed to the "real" name (without the ".new").
Good to know, thx.
> Based on what you've posted above, you were trying to back up something
> called /home/amanda, right? Is that an actual home directory? It looks
> like it is based on the listed incremental file which only lists one
> item, .xauth, and that's the kind of thing I'd expect to see inside a
> home directory.
>
Yes, /home/amanda, whose contents are these files:
drwx------ 3 amanda amanda 4096 May 4 13:13 .
drwxr-xr-x 11 root root 4096 Apr 27 13:45 ..
-rw-rw-r-- 1 amanda amanda 46 May 4 13:09 .amandahosts
-rw-rw-r-- 1 amanda amanda 21 Apr 30 16:07 .amandahosts~
-rw------- 1 amanda amanda 6984 May 7 15:09 .bash_history
-rw-r--r-- 1 amanda amanda 24 Apr 27 13:45 .bash_logout
-rw-r--r-- 1 amanda amanda 230 Apr 27 13:45 .bash_profile
-rw-r--r-- 1 amanda amanda 124 Apr 27 13:45 .bashrc
-rwxr-xr-x 1 amanda amanda 333 Apr 27 13:45 .emacs
-rw-r--r-- 1 amanda amanda 3394 Apr 27 13:45 .screenrc
drwx------ 2 amanda root 4096 Apr 30 14:20 .xauth
I still don't understand why files would be left out in my first
successful amdump, a backup reported as level 0 by the email amdump sent
afterwards. Level 0 is always supposed to mean all files, correct? The
problem ppears to have something to do with the --listed-incremental
/usr/....amanda_0.new option, because all files are backed up when it is
removed from the command.
As i posted Friday, what appeared on the tape after the amdump was only
four items:
# tar tvv
-rw-r--r-- amanda/amanda 230 2001-04-27 13:45 ./.bash_profile
-rw-r--r-- amanda/amanda 124 2001-04-27 13:45 ./.bashrc
-rwxr-xr-x amanda/amanda 333 2001-04-27 13:45 ./.emacs
-rw-r--r-- amanda/amanda 3394 2001-04-27 13:45 ./.screenrc
thanks alot,
george