6.4.1 群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统

6.4.1 群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统

群晖NAS6:ABB: 备份物理Centos与还原物理Centos系统(图1)

  1. Supports backing up and restoring Linux physical servers of the following distributions:
    • CentOS: 6.10, 7.8, 8.1
    • RHEL: 6.10, 7.8, 8.1
    • Ubuntu: 16.04, 18.04, 20.04
    • Fedora: 30, 31, 32
    • Debian: 8.0 to 10
  2. Added support for VMware vSphere 7.0.0.

https://www.synology.com/en-global/releaseNote/ActiveBackup?model=DS918%2B#7_x_series


恢复媒介创建向导.pdf

https://global.download.synology.com/download/Document/Software/AdminGuide/Package/ActiveBackup/All/chs/ABB_Recovery_Media_Creation_Guide_chs.pdf

群晖NAS6:ABB: 备份物理Centos与还原物理Centos系统(图2)1-21121H25F1959.pdf

https://kb.synology.cn/zh-cn/search?services%5B%5D=Active_Backup_for_Business&sources%5B%5D=user_guide


(1)代理软件拷贝到CentOS7上并解压,更改文件的名字,不要带空格,有空格的使用引号解决。

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图3)

unzip Agent-2.2.0-2074-x64-rpm.zip

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图4)

(2)安装Linux版本代理

 ./install.run

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图5)

安装失败


安装依赖包

yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图6)

yum -y install make libaio dkms gcc

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图7)

重新安装,还是失败

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图8)


执行如下命令,更新yum源:
#yum clean all
#yum makecache
#yum update

yum install -y  kernel-devel-3.10.0-693.el7.x86_64

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图9)

安装还是失败

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图10)


https://pkgs.org/download/kernel-devel

kernel-devel-3.10.0-693.el7.x86_64.rpm

[root@C2 Desktop]# ls
1  Agent2  Agent-2.2.0-2074-x64-rpm.zip  kernel-devel-3.10.0-693.el7.x86_64.rpm
[root@C2 Desktop]# rpm -ivh kernel-devel-3.10.0-693.el7.x86_64.rpm
Preparing...                          ################################# [100%]
        package kernel-devel-3.10.0-1160.49.1.el7.x86_64 (which is newer than kernel-devel-3.10.0-693.el7.x86_64) is already installed
[root@C2 Desktop]#

安装还是出错:

Error: Nothing to do
 * install kernel header failed, please try again later or download and install CentOS7 kernel-devel-3.10.0-693.el7.x86_64 from https://pkgs.org/download/kernel-devel

解决:移除原来版本,安装所需版本

[root@C2 Agent2]#  rpm -q kernel-devel
kernel-devel-3.10.0-1160.49.1.el7.x86_64
[root@C2 Agent2]#
[root@C2 Agent2]# yum remove kernel-devel-3.10.0-1160.49.1.el7.x86_64

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图11)

[root@C2 Agent2]# cd ../
[root@C2 Desktop]# ls
1  Agent2  Agent-2.2.0-2074-x64-rpm.zip  kernel-devel-3.10.0-693.el7.x86_64.rpm
[root@C2 Desktop]# rpm -hvi kernel-devel-3.10.0-693.el7.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:kernel-devel-3.10.0-693.el7      ################################# [100%]
[root@C2 Desktop]#
[root@C2 Desktop]#  rpm -q kernel-devel
kernel-devel-3.10.0-693.el7.x86_64
[root@C2 Desktop]#
群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图12)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图13)

(3)abb-cli -c 配置连接Active Backup for Business

Command line error: no such option: --installed
 * agent service has not installed, installing agent service
 * install Synology Active Backup for Business Agent-2.2.0-2074.rpm
warning: Synology Active Backup for Business Agent-2.2.0-2074.rpm: Header V4 RSA/SHA1 Signature, key ID 86a998db: NOKEY

创建符号链接Created symlink from /etc/systemd/system/multi-user.target.wants/synology-active-backup-business-linux-service.service to /etc/systemd/system/synology-active-backup-business-linux-service.service.

 * The installation is complete. You might enter "abb-cli -c" to connect to Synology NAS and back up the Linux device. To learn more commands about Active Backup for Business Linux agent, please type "abb-cli -h".
[root@C2 Agent2]#
[root@C2 Agent2]#

*安装完成。您可以输入“abb-cli -c”连接到Synology NAS并备份Linux设备。要了解更多关于Active Backup for Business Linux代理的命令,请键入"abb-cli -h"。


root@C2 Agent2]# abb-cli -h
usage: abb-cli COMMAND [OPTION...]

COMMAND
        -c, --connect
                connect to the server
        -r, --reload
                reload connection
        -l, --logout
                logout from server
        -s, --status
                show server status
        -v, --version
                show agent version
        -h, --help
                show help
OPTION
        -a --address
                server address
        -u --username
                username for authentication
        -p --password
                password for authentication
        -q --quiet
                quiet mode, only output error message
        --proxy-address
                server proxy address
        --proxy-port
                server proxy port
        --proxy-username
                server proxy username
        --proxy-password
                server proxy password
[root@C2 Agent2]#

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图14)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图15)

(4)开始备份

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图16)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图17)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图18)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图19)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图20)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图21)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图22)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图23)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图24)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图25)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图26)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图27)

群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统(图28)

完成。


群晖NAS(列表、list、全)naslist
http://www.zh-cjh.com/wenzhangguilei/429.html
威联通NAS(列表、list、全)naslist
http://www.zh-cjh.com/wenzhangguilei/2219.html
FreeNAS11.2(列表、list、全)
http://www.zh-cjh.com/wenzhangguilei/642.html

1、本站资源长期持续更新。
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。

转载请保留出处:  www.zh-cjh.com珠海陈坚浩博客 » 6.4.1 群晖NAS6:ABB: 备份物理CentOS7与还原CentOS7系统

作者: cjh


手机扫一扫,手机上查看此文章:

一切源于价值!

其他 模板文件不存在: ./template/plugins/comment/pc/index.htm

未雨绸缪、居安思危!

数据安全、有备无患!

注意操作、数据无价!

一切源于价值!