4. NBU文件备份与恢复,图形界面&字符界面操作

一、 图形界面文件备份与恢复

1.1  文件备份

待补充

1.2 Windows文件恢复

(1) 打开恢复客户端

 

 

(2) 检查设置

 

 

(3) 查询可恢复信息

 

 

(4) 选取恢复时间点和文件

 

 

(5) 选择恢复目标路径执行恢复

 

 

(6) 查看恢复状态

 

 

(7) 恢复完成和验证

 

 

 

恢复完成

 

 

 

二、 字符界面文件备份与恢复

2.1 备份

# bpbackup -i -p file_fims_104_97_full 

 

 

 

 

2.3 检查备份数据

在客户端上创建恢复目录

 [root@fims /]# mkdir /restore0716

检查备份数据

 [root@fims /]# bplist -C fims -t 4 -s 12/30/2015 -e 06/06/2019 -R -b -l /usr/openv/netbaclup*

 

在主服务器上创建目录更改文件

nbu-d:/usr # cat /restore0716/rename1   

change /usr/ to /restore0716/

 

在主服务器上执行恢复操作

nbu-d:/usr # bprestore -C fims -D fims   -s 12/30/2015 -e 06/06/2019 -Rc /restore0716/rename1 -L /tmp/log01  /usr/openv/netbaclup*

在主服务器上查看恢复结果

nbu-d:/restore0716 # bpdbjobs |head

JobID           Type State Status                Policy                   Schedule    Client             Started    Elapsed  Kilobytes KB Per Sec

  285        Restore  Done      0                                                       fims 07/16/2015 14:24:46  000:00:14     255227      26239

 

 

在客户端上检查恢复结果

[root@fims /]# cd restore0716

[root@fims restore0716]# ls -lrt

总用量 8

drwxr-xr-x. 3 root root 4096  7月 16 14:20 local

drwxr-xr-x. 3 root root 4096  7月 16 14:20 java

[root@fims restore0716]# du -sm *

3       java

250     local

[root@fims restore0716]#

 

 

 

转载于:https://www.cnblogs.com/yihr/p/8053467.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值