create new tag
view all tags


1.建用户 "amandabackup" uid=51202(amandabackup) gid=6(disk)

#useradd -u 51202 amandabackup -g disk -d /var/lib/amanda -s /bin/sh

修改amandabackup用户的属性 SHELL:/bin/sh HOME:/var/lib/amanda

2.# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.i386.rpm

或# rpm -ivh amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm (见附件)

查看是否有 /var/log/amanda/install.err报错信息


service amanda
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amandabackup
group = disk
groups = yes
server = /usr/libexec/amanda/amandad
server_args = -auth=bsdtcp amdump

4.重启 xinetd

# /etc/init.d/xinetd restart 或者 /etc/rc.d/xinetd restart

Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]

5.作为 amandabackup 用户

-bash-3.00$ vi /var/lib/amanda/.amandahosts (增加下面几行)

bak01.ihep.ac.cn amandabackup amdump

bak02.ihep.ac.cn amandabackup amdump

bak03.ihep.ac.cn amandabackup amdump

bak04.ihep.ac.cn amandabackup amdump

bak05.ihep.ac.cn amandabackup amdump

bak06.ihep.ac.cn amandabackup amdump

bak07.ihep.ac.cn amandabackup amdump

bak08.ihep.ac.cn amandabackup amdump

-bash-3.00$ chmod 700 /var/lib/amanda/.amandahosts





# mkdir /etc/amanda

# chown amandabackup:disk /etc/amanda

2.作为 amandabackup用户, 生成 /etc/amanda/amanda-client.conf 文件,添加以下内容

# amanda.conf - sample Amanda client configuration file.


# This file normally goes in /etc/amanda/amanda-client.conf.


conf "DailySet" (此参数请咨询管理员)

index_server "amanda.ihep.ac.cn" (此参数请咨询管理员)

tape_server "amanda.ihep.ac.cn" (此参数请咨询管理员)

# tapedev "/dev/null"

# auth - authentication scheme to use between server and client.

# Valid values are "bsd", "bsdudp", "bsdtcp" and "ssh".

# Default: [auth "bsdtcp"]

auth "bsdtcp" # your ssh keys file if you use ssh auth ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"

*管理员:姚秋玲 tel:88236007 mail: yaoql@ihep.ac.cn*

郑伟 tel:88236883 mail: zhengw@ihep.ac.cn

Topic attachments
I Attachment History Action Size DateSorted ascending Who Comment
Unknown file formatrpm amanda-backup_client-2.6.1-1.rhel4.i386.rpm r1 manage 1594.5 K 2009-02-04 - 08:37 YaoQiuling  
Unknown file formatrpm amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm r1 manage 2786.7 K 2009-02-04 - 08:21 YaoQiuling  
Unknown file formatrpm amanda-backup_client-2.6.1-1.rhel5.i386.rpm r1 manage 1654.5 K 2010-02-25 - 07:06 YaoQiuling  
Unknown file formatrpm amanda-backup_client-2.6.1-1.rhel5.x86_64.rpm r1 manage 1717.7 K 2010-02-25 - 07:07 YaoQiuling  
Unknown file formatrpm amanda-backup_client-3.3.1-1.rhel6.i686.rpm r1 manage 1913.1 K 2012-06-21 - 09:05 YaoQiuling  
Unknown file formatrpm amanda-backup_client-3.3.1-1.rhel6.x86_64.rpm r1 manage 1944.7 K 2012-06-21 - 09:05 YaoQiuling  
Unknown file formatrpm amanda-backup_client-3.3.7-1.rhel7.x86_64.rpm r1 manage 1993.3 K 2016-11-24 - 07:48 YaoQiuling amanda-backup_client-3.3.7-1.rhel7.x86_64
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2017-08-17 - YaoQiuling
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback