VeeamBackup安装部署还原
<p>[TOC]</p>
<p>目录
一、安装前准备
1、修改计算机名
2、添加备份目标空间
3、添加备份源
4、最后创建备份JOB
5、防火墙开启2500-2501端口
二、从备份还原
1、还原操作
2、启动新的虚拟机
三、异常处理
1、报错1:
四、备份/还原参考资源:
五、新版本还原操作</p>
<h3>一、安装前准备</h3>
<h4>1、修改计算机名</h4>
<p>如果在安装好VeeamBackup之后,再修改主机名称,Veeambackup有三个服务启动失败,前端软件也无法连接成功;</p>
<h4>2、添加备份目标空间</h4>
<p>在主界面左下角:BACKUP INFRASTRUCTURE\Backup Rpositories\Add Repository,
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/35db555bf58d880f48c3cf8cbf367ff3?showdoc=.jpg" alt="" /></p>
<p>VeeamBackup备份软件在BACKUP INFRASTRUCTURE/添加直连NFS主机(CentOS7)时,报错如下:
failed to start PerlSoap protocol
【解决方案】
yum install perl-Data-Dumper</p>
<h4>3、添加备份源</h4>
<p>这里添加了一个VMware vSphere6.0备份源,直接输入vCenter相关信息即可。在主界面左下角:VIRTUALL MACHINES\Add Server
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/6a96300a021a880b33648ac3ec755fd5?showdoc=.jpg" alt="" />
注意:这里添加的主机是指vCenter</p>
<h4>4、最后创建备份JOB</h4>
<p>在主界面左下角:BACKUP & REPLICATION\Jobs
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/ebb7f45a2c25d6889ba7004567673cb9?showdoc=.jpg" alt="" /></p>
<h4>5、防火墙开启2500-2501端口</h4>
<p>在VeeadBackup进行备份操作时,会向存储服务器(nfs服务器)写入数据,需要开启端口从2500开始,多个计划任务需要多个端口,建议开启2500-2520以作备用。
firewall-cmd —zone=public —add-port=2500-2520/tcp —permanent
firewall-cmd —reload</p>
<h3>二、从备份还原</h3>
<h4>1、还原操作</h4>
<p>在主界面点“BACKUP & REPLICATION\Backups”,在中间列表中,右键选择需要还原的虚拟机,选择‘Restore entire VM...’,
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/034a7fd0de5925052af8b535aba6615d?showdoc=.jpg" alt="" />
在‘Available restore points:’列表,选择还原点,
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/e138eb5af1a548ff49fedcbff5b7124e?showdoc=.jpg" alt="" />
Next,选择“还原点”
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/faa0279458e9191e1e2978c941970c50?showdoc=.jpg" alt="" />
Next,选择恢复到原来位置还是新的位置
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/75b01072192ba7b1e0b9d03513b23daf?showdoc=.jpg" alt="" />
Next,选择目标主机
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/640afffbf79ef5b8e42fd9cb24a00d77?showdoc=.jpg" alt="" /></p>
<p><img src="https:/www.showdoc.cc/server/api/common/visitfile/sign/0cee464700fe27490c978efdd5c90ace?showdoc=.jpg" alt="" />
Next,选择目标资源池
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/6dea590ff20b4f15acfce314aeedb173?showdoc=.jpg" alt="" />
Next,
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/2716d10b5565f9452a13bb767112af49?showdoc=.jpg" alt="" />
Next,根据实际是否重名来修改VM名称,存储目录默认即可
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/22b1b1efb7569e5bc243399749df677a?showdoc=.jpg" alt="" />
Next,为恢复的虚拟机指定网络配置
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/bf777efa449eab706e75290f120bbd3c?showdoc=.jpg" alt="" />
Next,恢复原因
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/820058cb97363b3cd8d8b96df6970e57?showdoc=.jpg" alt="" />
Next,摘要
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/6cece724717cb5b20b3342a6879ff745?showdoc=.jpg" alt="" />
Finish,进行恢复。
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/32fc4f682ef2f027ef250b4f3d41b336?showdoc=.jpg" alt="" />
恢复过程中的这个报错忽略不用管。
在恢复过程中,在vCenter的任务栏中会有
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/fa950745337d9df643814a9de7a6623f?showdoc=.jpg" alt="" />
最后在对应的目标位置会出现恢复成功的虚拟机。
如果没有出现,可以通过拖拽至目标存储池中。
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/1396cb2e09779cfa3057fe45862e4194?showdoc=.jpg" alt="" /></p>
<h4>2、启动新的虚拟机。</h4>
<p>完成恢复操作。</p>
<h3>三、异常处理</h3>
<h4>1、报错1</h4>
<pre><code class="language-bash">2020/4/14 17:20:12 :: Error: Cannot proceed with the job: existing backup meta file '172.16.3.11_SVN.vbm' on repository 'myNFS' is not synchronized with the DB. To resolve this, run repository rescan </code></pre>
<p>【解决方案】
<a href="https://forums.veeam.com/veeam-backup-replication-f2/backup-repository-is-not-synchronized-with-the-db-error-t26771.html">https://forums.veeam.com/veeam-backup-replication-f2/backup-repository-is-not-synchronized-with-the-db-error-t26771.html</a></p>
<pre><code class="language-bash">1.Open the Backup Infrastructure view.
2.Select the Backup Repositories node in the inventory pane.
3.Select the necessary backup repository in the working area and click Rescan Repository on the ribbon or right-click the necessary backup repository in working area and select Rescan repository.</code></pre>
<p><img src="https://www.showdoc.cc/server/api/common/visitfile/sign/daa8586d75460159695f8c16919ecaed?showdoc=.jpg" alt="" /></p>
<h3>四、备份/还原参考资源:</h3>
<p><a href="https://wenku.baidu.com/view/7121e93d84254b35effd341e.html">https://wenku.baidu.com/view/7121e93d84254b35effd341e.html</a>
<a href="https://blog.csdn.net/kepa520/article/details/50420280">https://blog.csdn.net/kepa520/article/details/50420280</a></p>
<h3>五、新版本还原操作</h3>
<p>1.选中要还原的虚拟机
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/37331ff11a212ca09b8a894b1935011e?showdoc=.jpg" alt="" />
2.选择还原点
一般选择最近日期的进行还原。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/606d854351563022d83872951af0099e?showdoc=.jpg" alt="" />
3.选择还原类型
可以选择恢复到原始位置,或恢复到新位置或使用其他设置和分阶段还原,这里选择第二种:恢复到新位置或原位置。
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/33b543c5e73aa7b1ad7f1a076106f956?showdoc=.jpg" alt="" />
4.选择还原到哪台主机上
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/adbfc9cff63c37701d85806e817c6493?showdoc=.jpg" alt="" />
5.选择资源池
默认情况下,原始资源池被选择为每个虚拟机的还原目标。
6.选择数据存储和磁盘
默认情况下,为每个vm文件选择原始数据存储和磁盘类型
7.选择文件夹
默认情况下,原始vm文件夹被选择为每个vm的还原目标
8.选择网络</p>
<p>9.安全扫描
扫描选定的备份以查找恶意软件(例如计算机病毒或勒索软件),然后执行还原操作。这需要在为相应备份存储库指定的装载服务器上安装兼容的防病毒软件。</p>
<p>10.恢复原因</p>
<p>11.摘要</p>
<p>12.点"Finish"按钮,开始还原。</p>