Difference: AmandaClient (15 vs. 16)

Revision 162017-08-17 - YaoQiuling

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

安装步骤:

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

Deleted:
<
<
 

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报错信息

3.查看/etc/xinetd.d/amandaclient文件:

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

6.修改防火墙配置

安装完成,将所需备份的目录及其所在的机器告知系统管理员。

客户端软件安装完成之后,还需要进行recovery的配置

1.生成目录

# 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

META FILEATTACHMENT attachment="amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm" attr="" comment="" date="1233735681" name="amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm" path="D:\yaoql\amanda\amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm" size="2853596" stream="D:\yaoql\amanda\amanda-backup_client-2.6.1-1.rhel4.x86_64.rpm" user="Main.YaoQiuling" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-2.6.1-1.rhel4.i386.rpm" attr="" comment="" date="1233736653" name="amanda-backup_client-2.6.1-1.rhel4.i386.rpm" path="D:\yaoql\amanda\amanda-backup_client-2.6.1-1.rhel4.i386.rpm" size="1632813" stream="D:\yaoql\amanda\amanda-backup_client-2.6.1-1.rhel4.i386.rpm" user="Main.YaoQiuling" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-2.6.1-1.rhel5.i386.rpm" attr="" comment="" date="1267081590" name="amanda-backup_client-2.6.1-1.rhel5.i386.rpm" path="amanda-backup_client-2.6.1-1.rhel5.i386.rpm" size="1694220" stream="amanda-backup_client-2.6.1-1.rhel5.i386.rpm" tmpFilename="/usr/tmp/CGItemp15155" user="yaoql" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-2.6.1-1.rhel5.x86_64.rpm" attr="" comment="" date="1267081641" name="amanda-backup_client-2.6.1-1.rhel5.x86_64.rpm" path="amanda-backup_client-2.6.1-1.rhel5.x86_64.rpm" size="1758914" stream="amanda-backup_client-2.6.1-1.rhel5.x86_64.rpm" tmpFilename="/usr/tmp/CGItemp15133" user="yaoql" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-3.3.1-1.rhel6.i686.rpm" attr="" comment="" date="1340269530" name="amanda-backup_client-3.3.1-1.rhel6.i686.rpm" path="amanda-backup_client-3.3.1-1.rhel6.i686.rpm" size="1958996" stream="amanda-backup_client-3.3.1-1.rhel6.i686.rpm" tmpFilename="/usr/tmp/CGItemp28034" user="yaoql" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-3.3.1-1.rhel6.x86_64.rpm" attr="" comment="" date="1340269551" name="amanda-backup_client-3.3.1-1.rhel6.x86_64.rpm" path="amanda-backup_client-3.3.1-1.rhel6.x86_64.rpm" size="1991388" stream="amanda-backup_client-3.3.1-1.rhel6.x86_64.rpm" tmpFilename="/usr/tmp/CGItemp27942" user="yaoql" version="1"
META FILEATTACHMENT attachment="amanda-backup_client-3.3.7-1.rhel7.x86_64.rpm" attr="" comment="amanda-backup_client-3.3.7-1.rhel7.x86_64" date="1479973726" name="amanda-backup_client-3.3.7-1.rhel7.x86_64.rpm" path="amanda-backup_client-3.3.7-1.rhel7.x86_64.rpm" size="2041144" user="yaoql" version="1"
 
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