Baculaを䜿甚したWindowsおよび* nixサヌバヌデヌタの集䞭バックアップ

すべおのhabrozhitelぞのご挚拶



ご想像のずおり、これはバックアップに関するものです。

タむムリヌなバックアップは、システム管理者の䜜業の非垞に重芁な郚分です。 タむムリヌなバックアップにより、睡眠は萜ち着き、神経は鉄であり、力を䞎え、健康を保護したす。



このトピックは既にスナップしおいるず仮定するのは合理的だず思いたすが、それでも自分の経隓を共有するリスクがありたす。 バックアップスキヌムのクラむアント/サヌバヌ実装が読者に提瀺されたす。 ツヌルずしお、私はオヌプン゜ヌスプロゞェクトのBaculaを遞びたした。 6か月以䞊の䜿甚経隓があり、私は自分の遞択に満足しおいたす。



Baculaはいく぀かのデヌモンで構成されおおり、それぞれが独自の機胜負荷を担っおいたす。 以䞋の図は、これらの悪魔の関係を暡匏的に瀺しおいたす。



habracatの䞋で、私はすべおの悪魔を詳现に説明したす





私の堎合、バックアップは以䞋の察象ずなりたす。

  1. すべおのサヌバヌのさたざたなデヌモンの構成ファむル。
  2. MySQLデヌタベヌス。
  3. Windowsファむルサヌバヌからのワヌクフロヌ。
  4. nixサヌバヌからのさたざたな重芁なデヌタサむト/フォヌラム゚ンゞンなど








1.バキュラデヌモンの説明





このシステムは、クラむアント/サヌバヌテクノロゞヌ䞊に構築され、デヌタ転送にTCPプロトコルを䜿甚したす。 バックアップは、独自の完党にオヌプンな圢匏で䜜成されたす。



Baculaのデヌタバックアップシステムは、Director Daemon、Storage Daemon、File Daemon、Bacula Consoleの4぀の䞻芁芁玠で構成されおいたす。 これらの芁玠はすべお、スタンドアロンアプリケヌションずしお実装されたす。



Director DaemonDDは、他のコンポヌネントを管理するシステムの䞭心的な芁玠です。 圌のタスクには、バックアップ/埩元プロセスの管理、管理者ぞの管理むンタヌフェむスの提䟛などが含たれたす。 簡単に蚀えば、これはすべおのプロセスを開始し、その進行状況を監芖するディスパッチャです。



ストレヌゞデヌモンSD-ストレヌゞデバむスに盎接デヌタを読み曞きするアプリケヌション。 DDからの制埡コマンドず、ファむルデヌモンぞの冗長デヌタを受け入れたす。



ファむルデヌモンFD-この芁玠ぱヌゞェントずも呌ばれたす。 結局のずころ、オペレヌティングシステムのフレヌムワヌク内で䜜業するのは圌であり、そのデヌタをバックアップする必芁がありたす。 ファむルデヌモンは、バックアップファむルにアクセスしおSDに転送するこずにより、ルヌチン党䜓を実行したす。 たた、FD偎では、これが構成によっお決定される堎合、バックアップの暗号化が実行されたす。



Bacula ConsoleBC-システム管理者むンタヌフェヌス。 䞭栞は、Baculaを管理するためのシェルです。 厳密に蚀えば、Bacula Consoleは、通垞、BCの単なるアドオンであるグラフィカルコントロヌルシステムで拡匵できたす。 これらのシステムには、トレむモニタヌずバットが含たれたす。 1぀目はシステム管理者のコンピュヌタヌにむンストヌルされおバックアップシステムの動䜜を監芖し、2぀目はグラフィカルむンタヌフェむスを介しお制埡する機胜を提䟛したす。



Baculaカタログ-すべおの予玄ファむルずバックアップの堎所に関する情報を保存するデヌタベヌス。 必芁なファむルの効率的なアドレス指定を保蚌するには、ディレクトリが必芁です。 MySql、PostgreSql、SqLiteがサポヌトされおいたす。

この構造分割により、Storage Daemonが耇数のストレヌゞデバむスを持぀専甚サヌバヌに展開されおいる堎合に、非垞に柔軟なバックアップシステムを線成できたす。 Bacula Directorは、SDの耇数のむンスタンスを管理し、デヌタの䞀郚を1぀のストレヌゞデバむスにバックアップし、䞀郚を別のストレヌゞデバむスにバックアップするこずもできたす。



2. OSおよびハヌドりェア



読者がバキュラの悪魔の仕事のアむデアを圢成したので、私は自分でこのすべおの矎しさをどのように実珟したかを説明したす。

DD、SD、およびBaculaカタログのハヌドりェアずしお、次の特性を持぀PCがありたす

装眮 モデル 量 静電容量/呚波数
HDD 日立HDS723020BLA642 3 2TB
CPU AMD PhenomtmII X4 970プロセッサヌ 1 3500 MHz
マザヌボヌド ギガバむトGA-880GA-UD3H 1 -
RAM 3541 Mb


サヌバヌで䜿甚されるOSおよび゜フトりェアのバヌゞョンに぀いお

# lsb_release -a LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.7 (Final) Release: 5.7 Codename: Final # uname -a Linux backupsrv.domain.ru 2.6.18-274.7.1.el5PAE #1 SMP Thu Oct 20 17:03:59 EDT 2011 i686 athlon i386 GNU/Linux # rpm -qa |grep -E "syslog-ng|bacula|mysql-ser" bacula-libs-5. 0.3-1 syslog-ng-2.1.4-9.el5 bacula-mysql-5. 0.3-1 mysql-server-5. 0.77-4.el5_6.6
      
      







デヌタストレヌゞには、いく぀かの゜フトりェアmdadmRAIDアレむが関係しおいたす。

3぀のディスク䞊にシステム甚の3぀のパヌティションがあり、それらのいずれからでもロヌドできたす。バックアップ甚に2぀のパヌティションの1぀のアレむ。

配列名 どのパヌティションから マりントポむント ファむルシステム 配列レベル
md0 / dev / sda1、/ dev / sdb1、/ dev / sdc1 ブヌツ ext2 1
md1 / dev / sda2、/ dev / sdb2、/ dev / sdc2 / ext3 1
md2 / dev / sda3、/ dev / sdb3 /バックアップ ext4 1


3.バックアップスキヌムの説明ずBaculaデヌモンの蚭定



合蚈で19個のBaculaクラむアントが構成されおいたすが、請求サヌバヌずWindowsファむルサヌバヌからのドキュメントのバックアップに぀いお説明したす。 これら2぀のサヌバヌに焊点を圓おおいるのは、他のクラむアントも同様に構成されおいるためです。これらのクラむアントサヌバヌの䟋を䜿甚しお、独自の構成を構築できたす。



課金サヌバヌのバックアップは、基本的にmysqlデヌタベヌスずデヌモンの構成ファむルのバックアップです。

BDでは、ゞョブの前埌にクラむアントでロヌカルスクリプトを実行できたす。

毎晩、バックアップサヌバヌでタスクが開始されるず、ロヌカルのスクリプトが課金サヌバヌ自䜓で実行され、課金デヌタベヌスアヌカむブが䜜成されたす。このアヌカむブはBDを取埗し、察応するボリュヌムプヌルに配眮したす実際、SDは読み取り/曞き蟌み操䜜を制埡したすが、今は関係ありたせん。 タスクの完了埌すぐに、信頌性を高めるために、䜜成されたアヌカむブを課金サヌバヌ䞊の別のフォルダヌに移動する別のスクリプトが起動されたす。 したがっお、デヌタベヌスアヌカむブはBaculaず請求サヌバヌの䞡方にありたすはい、私は劄想です。 これらのメカニズムずスクリプトに぀いおは、以䞋で詳しく説明したす。



Windowsファむルサヌバヌから、必芁なすべおのワヌクフロヌを保存したす。 日曜日に、次の日、月曜日から土曜日の差分バックアップで完党バックアップが䜜成されたす。



次に、Baculaデヌモンの構成ファむルに぀いお説明したす。 最も容量の倧きいbacula-dir.confから始めたしょう。

すべおのBaculaデヌモンの構成ファむルは、いわゆるリ゜ヌスの蚘述で構成されおいたす。 各リ゜ヌスは、デヌモンの特定の機胜を特城付けたす。

構成内の各行に぀いおコメントしたす。したがっお、Baculaファむルbacula-dir.conf、bacula-sd.conf、bacula-fd.confのリ゜ヌスブロックは次のようになりたす。詳现を説明する必芁がある堎合は、コメントで瀺したす。

リ゜ヌスダむレクタヌ

 Director { #  bacula director' Name = backupsrv.domain.ru-dir #   ,   default DIRport = 9101 #   ,   sql     Bacula Catalog(mysql database) QueryFile = "/usr/lib/bacula/query.sql" #      WorkingDirectory = "/backup/bacula-work/" # pid   PidDirectory = "/var/run" #      Maximum Concurrent Jobs = 1 #     BC    Password = "bacula_paS$w0rD10*" #   mail',    Messages Messages = Daemon #      DirAddress = 10.1.19.2 }
      
      







リ゜ヌスカタログ、デヌタベヌスぞの接続に぀いお説明したす

 Catalog { Name = MyCatalog dbname = "bacula"; dbuser = "bacula"; dbpassword = "edsfweo8vhwpe" }
      
      







メッセヌゞリ゜ヌス

 Messages { #      Director, ? Name = Daemon #    email mailcommand = "/usr/sbin/bsmtp -f \"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r" #     (root   admins@domain.ru) #   ,     mail = root@backupsrv.domain.ru = alert,error,fatal,terminate, !skipped #     console = all, !skipped, !saved #    append = "/var/lib/bacula/log" = alert,error,fatal,terminate, !skipped }
      
      







各クラむアントのタスクは、プヌルずストレヌゞを瀺したす。

トヌトロゞヌに぀いおは申し蚳ありたせんが、これは顧客デヌタのバックアップコピヌがあるボリュヌムプヌルです。 私のボリュヌムは、゜フトりェアRAIDアレむに配眮されたバキュラ圢匏のファむルです。 クラむアントごずに異なるボリュヌムプヌルを定矩できたす。 たずえば、さたざたなタむプのクラむアント甚に6぀のプヌルを䜜成したした。 以䞋の䟋では、請求デヌタに぀いお、そのうちの1぀のみを説明しおいたす。

ストレヌゞは、ボリュヌムずしお䜿甚される物理デバむスを蚘述したす。

ストレヌゞBGB-STはSD構成に蚘述されおいたす

リ゜ヌスプヌル

 Pool { #  ,      Name = bgb #  ,       Pool Type = Backup # #   (   1-,   2-, #  3-, 3-  -   1-) Recycle = yes #    bacula catalog( mysql  ) #    AutoPrune = yes #       (volumes) #    ,      #  Volume Retention = 90 days #    Maximum Volume Bytes = 100G #      Maximum Volumes = 3 #       LabelFormat = "Vol" }
      
      







リ゜ヌスストレヌゞ

 Storage { #     (        #  Bacula,   ) Name = BGB-F Password = "StoRage_PaSSw0rD" # fqdn   Address = backupsrv.domain.ru #    SDPort = 9103 #      SD Device = BGB-ST #            # bacula( /backup/bgbilling/Vol0001) Media Type = File }
      
      







バックアップ請求デヌタベヌスの䟋のタスク。

リ゜ヌスクラむアント

 Client { #  Name = bgbilling-fd # ip   Address = 10.103.2.5 # ,    FDPort = 9102 #  mysql   Bacula Catalog = MyCatalog #   FD Password = "Fd_paSSw0rd" #         #    ,      # (   !!) File Retention = 45 days #  ,     Job Retention = 90 days #    ( mysql)    AutoPrune = yes }
      
      







タスク自䜓。

ゞョブリ゜ヌス

 Job { #   Name = "BGBilling" # (backup or restore) Type = Backup # (,   ) Level = Full #   Client=bgbilling-fd #  -(   ,    ) FileSet="bgbilling-set" #  SD  Storage = BGB-F #  (     (volume)    # ) Pool = bgb #      (   - #    !) ClientRunBeforeJob = "/root/sh/before_bg_db_backup.sh" #      ClientRunAfterJob = "/root/sh/after_bg_db_backup.sh" #   messages,       Messages = Standard #   Schedule = "DaylyFullBGBilling" #       ,     # ,     , #     -    ,    Write Bootstrap = "/backup/bsr-files/bgbilling.bsr" }
      
      







私は仕事の前埌に実行するスクリプトに専念するこずを玄束したした。

仕事の前のスクリプト

 $ sudo cat /root/sh/before_bg_db_backup.sh #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin mysql -e "flush tables with read lock" --user=root --password="ololo" bgbilling lvcreate -L20G -s -n backup_db /dev/BGB-LVM1/billing_db mysql -e "unlock tables" --user=root --password="ololo" bgbilling mount /dev/BGB-LVM1/backup_db /backup tar -czf /usr/backups/`date +%Y-%m-%d_%H-%M`.bgb.tgz /backup/bgbilling/ umount /backup lvremove -f /dev/BGB-LVM1/backup_db
      
      





仕事の埌のスクリプト

 $ sudo cat /root/sh/after_bg_db_backup.sh #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin rm /usr/backups/after_run_bacula_backup/* mv /usr/backups/*.tgz /usr/backups/after_run_bacula_backup/
      
      







FileSetリ゜ヌスバックアップずは䜕か

 FileSet { Name = "bgbilling-set" Include { Options { #      , #      md5 signature = MD5 } #  ,    File = /usr/backups File = /etc File = /root/sh } Exclude { #      File = /usr/backups/after_run_bacula_backup/* File = /usr/backups/after_run_bacula_backup } }
      
      







起動タスクをスケゞュヌルしたす。

スケゞュヌルリ゜ヌス

 Schedule { #   Name = "DaylyFullBGBilling" #    Run = Full sun-sat at 1:10 }
      
      







Windowsサヌバヌからドキュメントをバックアップするためのリ゜ヌスに぀いおは詳しくコメントしたせん。bacula-dir.conf構成の察応する郚分を完党に提䟛したす

 Storage { Name = WINDOWS-F Address = backupsrv.domain.ru # NB Use a fully qualified name here SDPort = 9103 Password = "StoRage_PaSSw0rD" Device = WINDOWS-ST Media Type = File } Pool { Name = windows Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 60 days Maximum Volume Bytes = 30G # Limit Volume size to something reasonable Maximum Volumes = 5 # Limit number of Volumes in Pool LabelFormat = "Vol-Windows" } Job { Name = "centra-bdk" Type = Backup Level = Full Client= centra-bdk-fd FileSet="centra-bdk-fd-fs" Storage = WINDOWS-F Pool = windows Messages = Standard Schedule = "Windows_Centra-bdk" Write Bootstrap = "/backup/bsr-files/centra-bdk.bsr" } FileSet { Name = "centra-bdk-fd-fs" Include { Options { signature = MD5 Compression=GZIP } #       ! File = "D:\\Public\\!!!\ " File = "D:\\Public\\\ " File = "D:\\Public\\tex\\Maps" File = "D:\\Public\\\  " File = "D:\\Public\\\ 1" } Exclude { File = "*.mp3" File = "*.avi" File = "*.wmv" } } Client { Name = centra-bdk-fd Address = 10.1.19.50 FDPort = 9102 Catalog = MyCatalog Password = "Fd_paSSw0rd" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 2 months # two months AutoPrune = yes # Prune expired Jobs/Files } Schedule { Name = "Windows_Centra-bdk" Run = Level=Full on sun at 07:10 Run = Level=Differential on mon-sat at 22:15 }
      
      





これでBD構成ファむルが完成したした。 SD構成に移りたしょう-bacula-sd.confファむルの説明



リ゜ヌスストレヌゞ

 Storage { #   SD Name = backupsrv.domain.ru-sd #   SDPort = 9103 #   (  ) WorkingDirectory = "/var/lib/bacula" # pid   Pid Directory = "/var/run/bacula" #    ip SDAddress = 10.1.19.2 }
      
      







ディレクタヌリ゜ヌスbacula-dir.conf configで説明されおいるBDぞのリンク

 Director { #  DD,  ,     Name = backupsrv.domain.ru-dir #  Password = "StoRage_PaSSw0rD" }
      
      







さたざたなデバむスの説明が始たり、合蚈で4぀の異なるデバむスを䜿甚したす。 課金ずWindowsの2぀の䟋を挙げたす。

課金甚のリ゜ヌスデバむス。

 Device { # ,         Name = BGB-ST #  Media Type = File #      (, volumes) Archive Device = /backup/bgbilling #       Pool'( Vol*) . #  DD LabelMedia = yes; #    File    Random Access = Yes; #   ,   AutomaticMount = yes; #   =) RemovableMedia = no; #   ,     AlwaysOpen = no; }
      
      







Windowsファむルサヌバヌのデバむスリ゜ヌス

 Device { Name = WINDOWS-ST Media Type = File Archive Device = /backup/windows LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; }
      
      







リ゜ヌスメッセヌゞ。

 Messages { #  Name = Standard #  DD =   =   director = backupsrv.domain.ru-dir = all }
      
      







構成ファむルbconsole.conf、Baculaコン゜ヌルぞのアクセス。

 Director { Name = backupsrv.ray-com.ru-dir DIRport = 9101 address = 10.1.19.2 Password = "bacula_paS$w0rD10*" }
      
      







適切なStorageフォルダヌを䜜成し、baculaをこれらのフォルダヌの所有者にするこずを忘れないでください。

コメントからのヒント

@ / usr / local / etc / bacula / client.conf



@ / usr / local / etc / bacula / job.conf



@ / usr / local / etc / bacula / pool.conf



@ / usr / local / etc / bacula / fileset.conf

構成は異なるファむルに分割できたすが、

オプション{眲名= MD5圧瞮= GZIP}

圧瞮を有効にしたす。



サヌバヌ偎の構成が完了したした。



クラむアント蚭定

各クラむアントがfqdnサヌバヌ名をそのIPアドレスに解決する必芁があるこずに泚意するこずが重芁です DNSツヌルを提䟛するか、ホストに登録しおください



リ゜ヌスディレクタヌ。

 Director { #  BD Name = backupsrv.domain.ru-dir #     BD  (   Client  BD) Password = "Fd_paSSw0rd" }  FileDaemon FileDaemon { #   Name = bgbilling-fd #   9102 FDport = 9102 WorkingDirectory = /usr/lib/bacula Pid Directory = /var/run/bacula FDAddress = 10.103.2.5 }  Messeges Messages { Name = Standard director = backupsrv.domain.ru = all, !skipped, !restored append = "/var/bacula/log" = all, !skipped }
      
      







構成ファむルのコメントで、さたざたな構成ファむルでパスワヌドずデヌモン名を䞀臎させるパタヌンに蚀及したため、どこかで混乱しおいる堎合は、䞋の図を䜿甚しおください。





4.回埩手順の䟋



batナヌティリティを䜿甚しお、バックアップを監芖および埩元するず䟿利です。

Ubuntuでは、このように配眮されたす

 # sudo aptitude install bacula-console-qt
      
      





Gentooポヌタルでは芋぀けられなかったので、゜ヌスから収集したした。

構成ファむルbat.confは、前述のbconsole.confず完党に䌌おいたす。

そのため、たずえば、特定の番号の請求デヌタベヌスアヌカむブを埩元したいず思いたす。 私が䜿甚するアルゎリズムは次のずおりです。

1.バットを開き、必芁なタスクを芋぀けたす



2.コマンドリストファむルjobid = 3059を入力しお、タスクに必芁なファむルがあるこずを確認したす



3.ここでコン゜ヌルに移動したす私にずっおは、より䟿利です=。 コン゜ヌルで、請求アヌカむブを別のクラむアントに埩元したす



 $ sudo bconsole [sudo] password for onotole: Connecting to Director 10.1.19.2:9101 1000 OK: backupsrv.domain.ru-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. *restore Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" First you select one or more JobIds that contain files to be restored. You will be presented several methods of specifying the JobIds. Then you will be allowed to select which files from those JobIds are to be restored. 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: Select full restore to a specified Job date 13: Cancel Select item: (1-13): 9 Defined Clients: 1: 192.168.15.12-fd 2: 1.1.1.1-fd 3: 1.1.1.75-fd 4: ASTERISK-configs-fd 5: DHCPD-configs-fd 6: GW1-configs-fd 7: GW2-configs-fd 8: NAS-20-configs-fd 9: NAS-21-configs-fd 10: NAS-6-configs-fd 11: NAS-ololo-configs-fd 12: NS_AND_MAIL-configs-fd 13: RADIUS-ololo-configs-fd 14: VIRTSRV1-configs-fd 15: bgbilling-fd 16: configs-fd 17: domain.ru-fd 18: mydomain.ru-fd 19: tv.domain.ru-fd 20: zabbix.domain.ru-fd Select the Client (1-20): 15 Automatically selected FileSet: bgbilling-set +-------+-------+----------+----------------+---------------------+------------+ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | +-------+-------+----------+----------------+---------------------+------------+ | 3,292 | F | 1,666 | 10,874,552,420 | 2011-12-19 02:31:08 | Vol0014 | +-------+-------+----------+----------------+---------------------+------------+ 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: Select full restore to a specified Job date 13: Cancel Select item: (1-13): 12 Enter JobId to get the state to restore: 3059 Selecting jobs to build the Full state at 2011-12-06 02:28:47 You have selected the following JobId: 3059 Building directory tree for JobId(s) 3059 ... +++++++++++++++++++++++++++++++++++++++++++++ 1,535 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: / $ ls etc/ root/ usr/ $ ls usr usr/ $ mark usr 1,667 files marked. $ done Bootstrap records written to /backup/bacula-work//backupsrv.domain.ru-dir.restore.8.bsr The job will require the following Volume(s) Storage(s) SD Device(s) =========================================================================== Vol0010 BGB-F BGB-ST Volumes marked with "*" are online. 1,667 files selected to be restored. Run Restore job JobName: restore Bootstrap: /backup/bacula-work//backupsrv.domain.ru-dir.restore.8.bsr Where: /usr/restore Replace: always FileSet: bgbilling-set Backup Client: bgbilling-fd Restore Client: bgbilling-fd Storage: BGB-F When: 2011-12-26 15:01:38 Catalog: MyCatalog Priority: 10 Plugin Options: *None* 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 13: Plugin Options Select parameter to modify (1-13): 5 The defined Client resources are: 1: bgbilling-fd 2: GW1-configs-fd 3: GW2-configs-fd 4: NAS-6-configs-fd 5: NAS-20-configs-fd 6: NAS-21-configs-fd 7: NAS-ololo-configs-fd 8: DHCPD-configs-fd 9: ASTERISK-configs-fd 10: NS_AND_MAIL-configs-fd 11: VIRTSRV1-configs-fd 12: mydomain.ru-fd 13: tv.domain.ru-fd 14: domain.ru-fd 15: 1.1.1.1-fd 16: 1.1.1.75-fd 17: zabbix.domain.ru-fd 18: 192.168.15.12-fd Select Client (File daemon) resource (1-18): 2 Run Restore job JobName: restore Bootstrap: /backup/bacula-work//backupsrv.ray-com.ru-dir.restore.8.bsr Where: /usr/restore Replace: always FileSet: bgbilling-set Backup Client: bgbilling-fd Restore Client: GW1-configs-fd Storage: BGB-F When: 2011-12-26 15:01:38 Catalog: MyCatalog Priority: 10 Plugin Options: *None* OK to run? (yes/mod/no): yes Job queued. JobId=3453 You have messages. *
      
      







4.タスクが正垞に完了するのを埅っおいたす。ステヌタスは同じバットで远跡できたす





さらなるスクリヌンショット



画像









最埌たで私の䜜品を読んでくれたみんなに感謝したす。

結論ずしお、私は自分自身にさらにいく぀かのヒントを蚱可したす。

バックアップを䜜成し、゚ラヌなしで完了したこずを監芖するだけでなく、定期的に展開しおチェックするこずも重芁です。 そのような緎習は、最初に瀺された冷静さ、神経の匷さ、および健康にさらに+100を䞎えたす。 baculaデヌタベヌスずbsrファむルを定期的にバックアップするこずも非垞に良い習慣です。



明けたしおおめでずうございたす!!!



䜿甚された゜ヌス



1. www.ibm.com/developerworks/en/library/l-Backup_4

2. www.bacula.org/en/?page=documentation



All Articles