红旗Linux案例精选:Amanda集中备份实例(1)
system library cache...done.
4月 11 2009 12:16:46: Reloading xinetd configuration...停止 xinetd:[失败] 启动 xinetd:[确定] success. 4月 11 2009 12:16:47: Installing ''/var/lib/amanda/amandates''. 4月 11 2009 12:16:47: The file ''/var/lib/amanda/amandates'' has been created. 4月 11 2009 12:16:47: Ensuring correct permissions for ''/var/lib/amanda/amandates''. 4月 11 2009 12:16:47: ''/var/lib/amanda/amandates'' Installation successful. 4月 11 2009 12:16:47: Checking ''/var/lib/amanda/.amandahosts'' file. 4月 11 2009 12:16:47: Checking ''/etc/amanda/amanda-client.conf'' file. 4月 11 2009 12:16:47: Installing ''/var/lib/amanda/.gnupg''. 4月 11 2009 12:16:47: ''/var/lib/amanda/.gnupg'' will be created. 4月 11 2009 12:16:47: The directory ''/var/lib/amanda/.gnupg'' created successfully. 4月 11 2009 12:16:47: Ensuring correct permissions for ''/var/lib/amanda/.gnupg''. 4月 11 2009 12:16:47: ''/var/lib/amanda/.gnupg'' Installation successful.
4月 11 2009 12:16:47: Creating directory ''/var/lib/amanda/.ssh''. 4月 11 2009 12:16:47: Creating ssh RSA key in ''/var/lib/amanda/.ssh/id_rsa_amrecover'' 4月 11 2009 12:16:48: Setting permissions for ''/var/lib/amanda/.ssh'' and ''/var/ lib/amanda/.ssh/id_rsa_amrecover*'' 4月 11 2009 12:16:48: Checking for ''/var/lib/amanda/.profile'' and ensuring correct environment. 4月 11 2009 12:16:48: Setting ownership and permissions for ''/var/lib/amanda/.profile'' 4月 11 2009 12:16:48: Sending anonymous distribution and version information to Zmanda 4月 11 2009 12:16:48: Setting ownership and permissions for ''/var/lib/amanda/.profile'' 4月 11 2009 12:16:53: === Amanda backup client installation complete. === 编辑或者创建/etc/xinetd.d/amandaclient,内容如下:
[root@cp2:~]# /etc/init.d/xinetd reload
重新载入配置: [确定] 切换到amandabackup用户,编辑/var/lib/amanda/.amandahosts文件,增加下面一行 cp1.domain.com amandabackup amdump 这表示允许cp1服务器能够连接到在cp2机器上的amanda客户端. -su-3.2$ echo cp1.domain.com amandabackup amdump >> /var/lib/amanda/.amandahosts -su-3.2$ chmod 700 /var/lib/amanda/.amandahosts 在amandabackup用户的主目录创建一个隐藏的密码文件,并设置合理的权限 -su-3.2$ chown amandabackup:disk ~amandabackup/.am_passphrase -su-3.2$ chmod 700 ~amandabackup/.am_passphrase 到此,在cp2上的amanda客户端配置完成. 上述步骤在cp3服务器上同样执行一遍.
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |