Amanda-Users

Re: One DLE too many!

2006-03-17 16:57:09
Subject: Re: One DLE too many!
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Vytas Janusauskas <vytas AT dendron DOT com>
Date: Fri, 17 Mar 2006 22:49:06 +0100
Vytas Janusauskas schreef:
Hi Paul,

This e-mail thread has produce quite a bit of response. All appreciated. However I am still not clear if I can split my DLE's using the include and exclude commands. I am under the impression that amdump runs the backup as root. Should it therefore not have access to all directories? I have added the information you requested inline below.

Gnutar itself is run as root, but the problem is that gnutar currently
cannot handle *patterns" in includes (only in excludes).
Gnutar has an options "--include-from=file", which specifies a file
with a list of names that need to backed up. Literal filenames, not patterns.

So the amanda hackers came up with the idea to expand the globs themselves, and pass the resulting list of literal filenames to the
--include-from option.

It is this reason that the expansion is done only 1 level deep (man
page says "only one slash allowed in patterns"), and that amanda has
to be able to read that one level deep.



What are the permissions of the top level directory /mnt/data06/Deforest3 ?

Listed below are the directory permissions listed from /mnt  and up.
drwxr-xr-x   15 root  root   4096 Nov  2 11:37 mnt
drwxrwsr-x  8 root uucp 4096 Mar  3 10:26 data06
drwxrws---  10 root  uucp  4096 Mar 16 09:32 Deforest3
drwxrws---   3 root uucp  4096 Jan 10 15:23 AirPhoto_Load_Tool
drwx--S---   5 root uucp  4096 Mar  1 11:18 Imagery
drwxrws---   2 root uucp 20480 Feb 23 11:09 NAPL
drwxrws---   4 root uucp  4096 Jan 16 07:48 NS_Oblique_Aerials
drwxrws---   2 root uucp 24576 Mar  6 16:07 Nova_Scotia_Photos
drwxrws---   2 root uucp  4096 Mar  9 09:55 Quality_Control
drwxrws---   2 root uucp  4096 Mar  6 13:48 Received
drwxrws---  11 root uucp  4096 Mar  7 09:11 delivery


??? group "uucp"???   Weird...  OK, I believe you.

You could add amanda to the "uucp" group.
(and in xinetd.conf also set the "groups = yes" parameter to the amandad service to load additional groups)


And maybe change the permissions of "Imagery" ?


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

<Prev in Thread] Current Thread [Next in Thread>