LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amanda configuration (https://www.linuxquestions.org/questions/linux-software-2/amanda-configuration-750136/)

dody1313 08-25-2009 11:18 AM

amanda configuration
 
Hi guys
well i have a lil situation with amanda backup software.
I install amanda Server on Centos 5 and i have 2 amanda client:
one is windows xp pro
second one is redhat
i am configuring a disk based amanda backup server ( so i am not using any tapes, just the server hard drive)
i think i am done with the installation but my problems are these:
*i am suppose to get the amdump command to run automatically for each client at a different time.
*i am having trouble to find out how i can get the amada server to backup a share folder in windows...every time i do #mount -t cifs //serverclient/folder /winbackup
i get the error :
mount error 20 = Not a directory
refer to the mount.cifs(8) manual page ......

but even if i get the "folder" to mount on /winbackup, how do i specify in the file disklist so that amanda server to see which server client to backup?
this is my disklist file:

linuxclient.domain.com /linbackup root-tar
windowsclient.doamin.com //clientservername/folder root-tar


everytime i ran the amcheck command i always get this error :
Error: windowsclient.domain.com: //clientservername/folder: invalid disk entry.

My last question may sound a lil stupid but am still curious about it...lol
i did manage to make it work for the linux client when i comment out the windowsclient on the disklist file but when i do a amdump and i go check to see if it backsup the file i created on the /dumps/amanda/DailySet1/slot1 , i don't see anything about my files
but the command didn't generate any errors.

i hope i was not too long...lol

thnx a lot for the help in advance

dody1313 08-25-2009 06:29 PM

hi guys
i found out about my problems late at night
the way i mentioned the winclient on the disklist file was all wrong
i had to put:
winclient.domain.com "C:/sharedfolder" zwc-compress

the zwc-compress is a dumptype that has to be defined on amanda.conf.
it's all good now on this part
but i still have this lil problem regarding running amdump to backup each client at a different time.
does #amdump DailySet1 client1
works???

if yes i could just create a crontab like this:
40 7 * * * /usr/sbin/amdump DailySet1 client1
30 10 * * * /usr/sbin/amdump DailySet1 client 2


and also how do i check the backups?

choogendyk 08-26-2009 07:09 AM

Those crontab entries should work. Just check your typing and don't let that space slip in. ;) I'm presuming DailySet1 is correct as your configuration (where you find your amanda.conf).

But, why do you want to run them separately. If the first one takes too long, it may prevent the second one from running. If you just run `amdump DailySet1` it will take care of both and probably do it faster. If you are concerned about load, you can drop the inparallel setting in amanda.conf and it will do them in sequence.

You should test your backups by using amrecover and seeing if you can navigate through the backup index, do a set host, set date, choose some files, and recover them. For testing, you could recover to a temporary directory.

dody1313 08-26-2009 08:55 AM

Hi Choogendyk,

Thnx a lot for the help...
well the raison i wanted to run them sepratly it's because i need to make the client's backups at different time, for example:
client1 is at 7:40am
client2 is at 10:30am
(by the way, your right, i will be careful with my typing :))
so you think if i run the amdump command like:
#amdump DailySet1 client1
will backup only client1?

for the test, thnx a lot...i am going to test them as you said.


All times are GMT -5. The time now is 06:50 PM.