日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

关于bacula网络备份软件的安装以及配置3

發(fā)布時(shí)間:2024/4/11 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 关于bacula网络备份软件的安装以及配置3 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
現(xiàn)在去看看備份路徑下面是否生成了備份文件<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

?

# du -sh *

9.7M??? woyun

可以看到這個(gè)卷有9.4M的大小了,原來是4K的文件,再次證明了備份成功了.

?

下面做還原的操作,我們把client端的被備份目錄下面文件進(jìn)行刪除 ? [root@localhost bacula]# rm -rf *

[root@localhost bacula]# ls

?

?然后我們到directory端進(jìn)行還原

?

# ./bconsole

Connecting to Director 10.10.2.226:9101

1000 OK: linux-0fdr-dir Version: 2.4.3 (10 October 2008)

Enter a period to cancel a command.

*restore

Automatically selected Catalog: dbcatalog

Using Catalog "dbcatalog"

?

To select the JobIds, you have the following choices:

???? 1: List last 20 Jobs run

???? 2: List Jobs where a given File is saved

???? 3: Enter list of comma separated JobIds to select

???? 4: Enter SQL list command

???? 5: Select the most recent backup for a client

???? 6: Select backup for a client before a specified time

???? 7: Enter a list of files to restore

???? 8: Enter a list of files to restore before a specified time

???? 9: Find the JobIds of the most recent backup for a client

??? 10: Find the JobIds for a backup for a client before a specified time

??? 11: Enter a list of directories to restore for found JobIds

??? 12: Cancel

Select item:? (1-12): 5

Automatically selected Client: dbfd

Automatically selected FileSet: dbfs

+-------+-------+----------+-----------+---------------------+------------+

| JobId | Level | JobFiles | JobBytes? | StartTime??????? ???| VolumeName |

+-------+-------+----------+-----------+---------------------+------------+

|??? 54 | F???? |??? 1,628 | 9,773,751 | 2009-08-25 15:23:18 | woyun????? |

+-------+-------+----------+-----------+---------------------+------------+

You have selected the following JobId: 54

?

Building directory tree for JobId 54 ...? +++++++++++++++++++++++++++++++++++++++++++++++++

1 Job, 1,621 files inserted into the tree.

?

You are now entering file selection mode where you add (mark) and

remove (unmark) files to be restored. No files are initially added, unless

you used the "all" keyword on the command line.

Enter "done" to leave this mode.

?

cwd is: /

$ mark home

1,628 files marked.

$ done

Bootstrap records written to /var/bacula/working/linux-0fdr-dir.restore.1.bsr

?

The job will require the following

?? Volume(s)???????????????? Storage(s)??????????????? SD Device(s)

===========================================================================

??

?? woyun???????????????????? dbsd????????????????????? dbdev???????????????????

?

?

1,628 files selected to be restored.

?

Run Restore job

JobName:???????? restrory

Bootstrap:?????? /var/bacula/working/linux-0fdr-dir.restore.1.bsr

Where:?????????? /home/bacula/

Replace:???????? always

FileSet:???????? dbfs

Backup Client:?? dbfd

Restore Client:? dbfd

Storage:???????? dbsd

When:??????????? 2009-08-25 16:09:03

Catalog:???????? dbcatalog

Priority:??????? 10

OK to run? (yes/mod/no): mod

Parameters to modify:

???? 1: Level

???? 2: Storage

???? 3: Job

???? 4: FileSet

???? 5: Restore Client

???? 6: When

???? 7: Priority

???? 8: Bootstrap

???? 9: Where

??? 10: File Relocation

??? 11: Replace

??? 12: JobId

Select parameter to modify (1-12): 9

Please enter path prefix for restore (/ for none): /home/bacula

Run Restore job

JobName:???????? restrory

Bootstrap:?????? /var/bacula/working/linux-0fdr-dir.restore.1.bsr

Where:?????????? /home/bacula

Replace:???????? always

FileSet:???????? dbfs

Backup Client:?? dbfd

Restore Client:? dbfd

Storage:???????? dbsd

When:??????????? 2009-08-25 16:09:03

Catalog:???????? dbcatalog

Priority:??????? 10

OK to run? (yes/mod/no): yes

Job queued. JobId=55

*exit

?

OK還原完成,我們現(xiàn)在到client端看看有什么還原回來

[root@localhost bacula]# ls

bacula-2.4.3 ???bacula-2.4.3.tar.gz

?

看到了已經(jīng)還原回來了,說明我們的還原操作已經(jīng)實(shí)現(xiàn)了.

轉(zhuǎn)載于:https://blog.51cto.com/wiliiwin/199297

總結(jié)

以上是生活随笔為你收集整理的关于bacula网络备份软件的安装以及配置3的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。