1. 安装软件包

curl -O https://download2.veeam.com/veeam-release-el7-1.0.7-1.x86_64.rpm

rpm -ivh ./veeam-release* && yum check-update
yum install

2. 安装软件许可

 veeamconfig license install --path veeam1.lic --server

3.创建 Repository 以 NAS Repo 为例

veeamconfig repository create --name STORE --location /mnt/store/

[root@VM-0-11-tlinux ~]# veeamconfig repository list
Name        ID                                      Location     Type   Accessible  Backup server  
STORE       {84ba2b4b-4e47-4f3c-a989-ff21aaf9944a}  /mnt/store/  local  true         

4.创建 Job 以系统备份为例

[root@VM-0-11-tlinux ~]# veeamconfig job create volumelevel --name systembackup --reponame 'STORE' --objects /dev/vda1  --weekdays Mon,Sun --at 23:00 
Job has been created successfully.
[root@VM-0-11-tlinux ~]# veeamconfig job list
Name          ID                                      Type         Repository  
systembackup  {500ddace-4036-4751-93a0-8514eebddb8a}  VolumeLevel  STORE       

5.查看 Job Session 以系统备份为例

[root@VM-0-11-tlinux ~]# veeamconfig session log --id ad574bcc-6426-4a8a-9645-894d2a363006
2021-04-13 12:01:38 UTC [info] Job systembackup started at 2021-04-13 12:01:38 UTC
2021-04-13 12:01:38 UTC [info] Preparing to backup
2021-04-13 12:01:38 UTC [info] Creating volume snapshot
2021-04-13 12:01:39 UTC [info] Starting full backup to STORE
2021-04-13 12:01:39 UTC [info] File system indexing is disabled
2021-04-13 12:01:39 UTC [info] Backing up BIOS bootloader on /dev/vda
2021-04-13 12:01:39 UTC [info] Backed up vda 6.5 GB at 48.9 MB/s
2021-04-13 12:03:55 UTC [info] Backing up summary.xml
2021-04-13 12:03:57 UTC [info] Releasing snapshot
2021-04-13 12:03:59 UTC [info] Processing finished at 2021-04-13 12:03:59 UTC

6.查看备份后的文件

[root@VM-0-11-tlinux ~]# veeamconfig session list
Job name      Type    ID                                      State    Started at        Finished at       
systembackup  Backup  {ad574bcc-6426-4a8a-9645-894d2a363006}  Success  2021-04-13 20:01  2021-04-13 20:03  
Total amount: 1
[root@VM-0-11-tlinux ~]# ls /mnt/store/
VM-0-11-tlinux systembackup

标签: none

添加新评论