PDA

View Full Version : amanda or amandabackup user id and home directory



zmandaforums
September 15th, 2006, 04:13 PM
I'm a new tester of Amanda. I like it compared to others I have tested, but it is in serious need of an installation script. :) I'm running SuSE 10.1 which was distributed with Amanda 2.4.5.17. I did play with it a little before downloading the stable 2.5.1.

2.4.5 created a system user: amanda
2.5.1 created a local user: amandabackup

Both had a home directory of /var/lib/amanda.

Although the guide (http://wiki.zmanda.com/index.php/Quick_start#Create_a_backup_user_on_the_server)
showed a command with the home directory of /home/amanda.


useradd -u amandabackup -g disk -d /home/amanda -s /bin/bash -c ...

I was wondering if between 2.4 and 2.5 if there was some transition going on with the Amanda user id (local vs. system) and the location of the home directory (/home/amanda vs. /var/lib/amanda).

My question, is there any problem with the Amanda user id being a system id?
System id: amanda
Home directory: /var/lib/amanda

In the guide above, it refers to the "dumpuser", who is the "dumpuser"? It isn't the amanda or amandabackup user id above, is it?

Thank you in advance.

zmandaforums
September 16th, 2006, 07:46 PM
/usr/sbin/amadmin xx version | grep CLIENT_LOGIN
displays amandabackup.

How do I change that to just amanda in amanda?

I've looked in amanda.conf and reviewed the doc at http://wiki.zmanda.com. I installed via the rpm.

Thank you.

paddy
September 17th, 2006, 08:05 AM
RPMs do lot of configuration as part of post installation script. Please see
Zmanda RPMs post installation steps (http://wiki.zmanda.com/index.php/Amanda_RPMs_from_Zmanda_downloads_page).

Changing amanda user in an installation has lot of steps:

1. Change the ownership of all binaries
2. Change the ownership of files in /var/lib/amanda and /etc/amanda
3. If the amanda user home directory is different, move all files (including hidden ones) from /var/lib/amanda to <new home directory>
4. You may have to look at the log files, index and curinfo files if backups
have been performed as the old user.
[I might have missed some steps]

Paddy

zmandaforums
September 17th, 2006, 11:14 AM
/usr/sbin/amadmin xx version > config

Studying the output in more detail from the above has helped some.

I know the logdir, infofile, indexdir, tapelist were shown to be in /etc/amanda/
directory. But that should be only for static (http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE6) configuration. But the log I put into /var/log/amanda/daily, and the other application state (http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE31) files I put into the amanda home directory under /var/lib/amanda/daily/curinfo, etc.

Thank you so much for response. I'm getting the hang of this. :)