Amanda-Users

Re: Problems using amanda to backup SMB shares

2006-07-13 03:54:20
Subject: Re: Problems using amanda to backup SMB shares
From: Michael D Schleif <mds AT helices DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 13 Jul 2006 07:49:44 -0500
* Jon LaBadie <jon AT jgcomp DOT com> [2006:07:12:17:49:06-0400] scribed:
> On Wed, Jul 12, 2006 at 09:31:09AM -0500, Michael D Schleif wrote:
> > * Jon LaBadie <jon AT jgcomp DOT com> [2006:07:12:00:09:07-0400] scribed:
> > <snip />
> > 
> > > When asked to, and if run by root, they record the date and
> > > time and level of the dumps in a file /etc/dumpdates.  This
> > > file then can be used by dump in the future to decide what
> > > needs backing up at various dump levels.
> > > 
> > > Tar does not have this built-in, so amanda mimics it in
> > > /etc/amandates.
> > 
> > My point is, on _my_ amanda server, that files does NOT exist:
> > 
> >     # sudo ls /etc/ama*
> >     Password:
> >     /etc/amandahosts  /etc/amandapass
> > 
> >     /etc/amanda:
> >     DailySet1  crontab.amanda
> > 
> > What am I missing?
> 
> On each client that is using tar for dumping you need
> /etc/amandadates, owned by client's "amandauser/group",
> rw by user&group
> 
> If your server is also a client, then you need that file.

My point is that I do NOT have any /etc/amandates on server, NOR
clients.  Although, Olivier Nicole states that I can simply create my
own, and amanda will use it; I remain unclear about this file, because I
do NOT find it documented anywhere ?!?!


> amandahosts should be ".amandahosts" and it should not
> be in /etc, but in the home directory of amandauser.

Well, Debian uses /etc/amandahosts on server and clients:

    # dpkg -S /etc/amandahosts
    amanda-common: /etc/amandahosts


> BTW in your line:
> 
> >     # sudo ls /etc/ama*
> 
> Do you really need to sudo to execute ls on the /etc dir?
> Particularly if you are already running as root ('# ' prompt).

Actually, I am NOT root; and I have a more complex prompt, which I edit
to simplify my posts:

    mds@bragi:~
    # sudo ls -al /etc/amanda*
    -rw------- 1 backup backup  182 Oct  8  2005 /etc/amandahosts
    -rw------- 1 backup backup  455 Jul 29  2004 /etc/amandapass

    /etc/amanda:
    total 12
    drwxrwx---   3 backup backup 1024 May 27 11:36 .
    drwxr-xr-x 149 root   root   7168 Jul 13 03:11 ..
    drwxrwx---   3 backup backup 3072 Jul 13 05:49 DailySet1
    -rw-rw----   1 backup backup  490 Nov  2  2003 crontab.amanda


Thank you, for your participation in these issues ...

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: signature.asc
Description: Digital signature