Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
Mam kilka stacji i serwerów do backup-owania. Postanowiłem wykorzystać do tego celu bacule. Wszystko udało mi się uruchomić, i kopie wykonują się. Niestety mam problem z odzyskaniem danych. Opcja restore działa, zadanie pokazuje się, ale nic nie zostaje odtworzone :( Obecnie testuję to na 3 stacjach z czego jedna jest dir, sd i fd. Z tej stacji (linux debian 6.0.5) mogę odzyskać wszystko gorzej z tych innych linux (debian 6/0/5) i windows 7.
Tak wylądają moje configi
SAGITTA dir, sd, fd
DIR
Director { # define myself Name = sagitta-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = /etc/bacula/working/ PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 20 Password = "QwertY12" # Console password Messages = DirMessages DirAddress = 192.168.2.88 } #### SAGTTA Job { Name = "I_SAGITTA_192.168.2.88" Type = Backup Level = Incremental Client = sagitta-fd Pool = Przyrostowy Schedule = "Dzienny" Messages = DirMessages FileSet = s_sagitta } #################################### #### VOSTRO Job { Name = "I_VOSTRO460_192.168.2.245" Type = Backup Level = Incremental Client = vostro460-fd Pool = Przyrostowy Schedule = "Dzienny" Messages = DirMessages FileSet = w_vostro460 } #################################### ### MONIT Job { Name = "I_MONIT_192.168.2.29" Type = Backup Level = Incremental Client = monit-fd Pool = Przyrostowy Schedule = "Dzienny" Messages = DirMessages FileSet = s_monit } #################################### #### RESTORE Job { Name = "RestoreFiles" Type = Restore Client = sagitta-fd FileSet = w_vostro460 Storage = TAPE_1 Where = /tmp/ Messages = DirMessages Pool = Przyrostowy } #################################### #### TYMY ZADAN Schedule { Name = "Dzienny" Run = Level=Incremental sat-thu at 20:30 } Schedule { Name = "Tygodniowy" Run = Level=Full fri at 22:30 } #################################### #### PLIKI DO KOPIOWANIA FileSet { Name = "w_vostro460" Enable VSS = yes Include { Options { Signature = MD5 } File = "C:/Users/predel/Documents" } } FileSet { Name = s_sagitta Include { Options { Signature = MD5 } File = /root File = /etc File = /var/lib } Exclude { File = /var/lib/bacula File = /backup File = /var/log File = /var/run File = /proc File = /tmp File = /.journal File = /.fsck } } FileSet { Name = s_monit Include { Options { Signature = MD5 } File = /root File = /etc File = /var/lib } Exclude { File = /var/lib/bacula File = /var/log File = /var/run File = /proc File = /tmp File = /.journal File = /.fsck } } #################################### #### KLIENCI Client { Name = sagitta-fd Address = 192.168.2.88 FD Port = 9102 Catalog = "Baza danych Bacula" Password = "niuniek2" AutoPrune = no } Client { Name = vostro460-fd Address = 192.168.2.245 FD Port = 9102 Catalog = "Baza danych Bacula" Password = "niuniek2" AutoPrune = no } Client { Name = monit-fd Address = 192.168.2.29 FD Port = 9102 Catalog = "Baza danych Bacula" Password = "niuniek2" AutoPrune = no } #################################### Storage { Name = TAPE_1 Address = 192.168.2.88 SDPort = 9103 Password = "QwertY12" Device = "virtual_hdd_f1" Media Type = File Maximum Concurrent Jobs = 20 } Catalog { Name = "Baza danych Bacula" DB Name = bacula DB Address = 127.0.0.1 DB Port = 3306 User = bacula Password = niuniek2 } Messages { Name = DirMessages # mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r" mail = root@localhost = all, !skipped operator = root@localhost = mount console = all, !skipped, !saved # append = "/var/lib/bacula/log" = all, !skipped catalog = all } Pool { Name = Przyrostowy Pool Type = Backup Recycle = yes Auto Prune = yes Volume Retention = 30 days Storage = TAPE_1 } Console { Name = sagitta-mon Password = "KTIC2iZGEY3dAOSU4JaTH6XQWOWEHu5_c" CommandACL = status, .status }
SD
Storage { Name = sagitta-sd Working Directory = /etc/bacula/working/ PID Directory = /var/run/bacula SD Address = 192.168.2.88 SD Port = 9103 Maximum Concurrent Jobs = 20 } Director { Name = sagitta-dir Password = "QwertY12" } Device { Name = "virtual_hdd_f1" Archive Device = /backup Device Type = File Media Type = File Removable Media = no Random Access = yes Requires Mount = no } Messages { Name = sagitta-sd-messages Director = sagitta-dir = all }
SAGITA-FD
Director { Name = sagitta-dir Password = "QwertY12" } FileDaemon { # this is me Name = sagitta-fd FDport = 9102 # where we listen for the director WorkingDirectory = /etc/bacula/working/ Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 FDAddress = 192.168.2.88 } # Send all messages except skipped files back to Director Messages { Name = sagitta-fd-messages director = sagitta-dir = all, !skipped, !restored }
VOSTRO-FD
Client { Name = vostro460-fd Address = 192.168.2.245 FDPort = 9102 Catalog = MyCatalog Password = "QwertY12" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files }
MONIT-FD
Director { Name = sagitta-dir Password = "QwertY12" } FileDaemon { Name = monit-fd FDport = 9102 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 FDAddress = 192.168.2.29 } Messages { Name = Standard director = monit-dir = all, !skipped, !restored }
Zapytanie query.sql mam takie jakie producent dostarczył. i nie wiem o co chodzi dlaczego z jednego mogę odzyskać a innych nie. Wszystko instalowane mam z paczek debianowych . Wersja baculi to 5.0.2
Będę wdzięczny za pomoc
Ostatnio edytowany przez redelek (2012-07-31 14:21:43)
Offline