Re: [Bacula-users] Restore from dead client
2014-09-05 12:01:01
Just to update my plea for help.
My Bacula server is hosted on a Ubuntu 11.10 server
Bacula Version is 5.2.2
Problem - Unable to perform a restore of a backup to a different
client / location
The error given is :
05-Sep 09:48 BS01-DIR1 JobId 12852: Start Restore Job
Restore_mail_bluewhale.2014-09-05_09.48.35_24
05-Sep 09:48 BS01-DIR1 JobId 12852: Using Device "File_bluewhale"
05-Sep 09:48 BS01-FD1 JobId 12852: shell command: run
ClientRunBeforeJob "/nas/users/admin/scripts/MailRestore.bash"
05-Sep 09:48 BS01-FD1 JobId 12852: ClientRunBeforeJob: zimbra:
unrecognized service
05-Sep 09:48 BS01-FD1 JobId 12852: ClientRunBeforeJob: zimbra:
unrecognized service
05-Sep 09:48 BS01-SD1 JobId 12852: Ready to read from volume
"mail-0386" on device "File_bluewhale" (/nas/bacula/bluewhale).
05-Sep 09:48 BS01-SD1 JobId 12852: Forward spacing Volume "mail-0386"
to file:block 0:219.
05-Sep 10:11 BS01-SD1 JobId 12852: End of Volume at file 28 on device
"File_bluewhale" (/nas/bacula/bluewhale), Volume "mail-0386"
05-Sep 10:11 BS01-SD1 JobId 12852: End of all volumes.
05-Sep 09:49 BS01-FD1 JobId 12852: Error: create_file.c:292 Could not
open /nas/users/admin/backups/data/backups/mail/fifo/mail.tar:
ERR=Interrupted system call
05-Sep 10:11 BS01-FD1 JobId 12852: shell command: run ClientAfterJob
"/nas/users/admin/scripts/MailCleanup.bash"
05-Sep 10:11 BS01-FD1 JobId 12852: ClientAfterJob: zimbra: unrecognized service
05-Sep 10:11 BS01-DIR1 JobId 12852: Bacula BS01-DIR1 5.2.2 (26Nov11):
Build OS: x86_64-unknown-linux-gnu ubuntu 11.10
JobId: 12852
Job: Restore_mail_bluewhale.2014-09-05_09.48.35_24
Restore Client: besc-bs01
Start time: 05-Sep-2014 09:48:37
End time: 05-Sep-2014 10:11:05
Files Expected: 1
Files Restored: 0
Bytes Restored: 0
Rate: 0.0 KB/s
FD Errors: 1
FD termination status: OK
SD termination status: OK
Termination: Restore OK -- warning file count mismatch
I get a zero size mail.tar file in the destination location, so I know
the changes in location works. Should I post mf conf files?? Please
advise...
Thanks --kenny
On Fri, Sep 5, 2014 at 10:48 AM, Kenny Noe <knoe501 AT gmail DOT com> wrote:
> Hi again.... Apologies for the late reply... I'm juggling several
> offices and am back to this now.
>
> Martin - Thanks for the reply. I have investigated the pre-process
> script and it does the following : Stop the Zimbra Mail service and
> runs the tar cmd to create the mail.tar file. Then Bacula uses fifo
> to backup the tar file into a volume in the SD Catalog. I've tried to
> restore to the local server and still get the same error.
>
> Any one have thoughts?? I REALLY need to get this file restored...
>
> Appreciate all the help.
>
> Sincerely,
>
> --Kenny
>
> On Thu, Aug 14, 2014 at 11:42 AM, Martin Simmons <martin AT lispworks DOT
> com> wrote:
>> The error is
>>
>> 12-Aug 09:51 BS01-FD1 JobId 12560: Error: create_file.c:292 Could not open
>> /nas/bacula/data/backups/mail/fifo/mail.tar: ERR=Interrupted system call
>>
>> which is strange.
>>
>> Is /nas/bacula/data/backups/mail/fifo/mail.tar a normal file or are you
>> trying
>> to restore into a FIFO? You could try restoring into a file on the local
>> disk.
>>
>> __Martin
>>
>>
>>>>>>> On Tue, 12 Aug 2014 10:25:12 -0400, Kenny Noe said:
>>>
>>> Phil,
>>>
>>> Thanks for the reply.
>>>
>>> So now the job runs and reports successful but all I get is a empty file.
>>>
>>> Here is the output from the log file :
>>>
>>> 12-Aug 09:50 BS01-DIR1 JobId 12560: Start Restore Job
>>> Restore_mail_bluewhale.2014-08-12_09.50.07_59
>>> 12-Aug 09:50 BS01-DIR1 JobId 12560: Using Device "File_bluewhale"
>>> 12-Aug 09:50 BS01-FD1 JobId 12560: shell command: run ClientRunBeforeJob
>>> "/nas/users/admin/scripts/MailRestore.bash"
>>> 12-Aug 09:50 BS01-FD1 JobId 12560: ClientRunBeforeJob: zimbra: unrecognized
>>> service
>>> 12-Aug 09:50 BS01-FD1 JobId 12560: ClientRunBeforeJob: zimbra: unrecognized
>>> service
>>> 12-Aug 09:50 BS01-SD1 JobId 12560: Ready to read from volume "mail-0386" on
>>> device "File_bluewhale" (/nas/bacula/bluewhale).
>>> 12-Aug 09:50 BS01-SD1 JobId 12560: Forward spacing Volume "mail-0386" to
>>> file:block 0:219.
>>> 12-Aug 10:12 BS01-SD1 JobId 12560: End of Volume at file 28 on device
>>> "File_bluewhale" (/nas/bacula/bluewhale), Volume "mail-0386"
>>> 12-Aug 10:12 BS01-SD1 JobId 12560: End of all volumes.
>>> 12-Aug 09:51 BS01-FD1 JobId 12560: Error: create_file.c:292 Could not open
>>> /nas/bacula/data/backups/mail/fifo/mail.tar: ERR=Interrupted system call
>>> 12-Aug 10:12 BS01-FD1 JobId 12560: shell command: run ClientAfterJob
>>> "/nas/users/admin/scripts/MailCleanup.bash"
>>> 12-Aug 10:12 BS01-FD1 JobId 12560: ClientAfterJob: zimbra: unrecognized
>>> service
>>> 12-Aug 10:12 BS01-DIR1 JobId 12560: Bacula BS01-DIR1 5.2.2 (26Nov11):
>>> Build OS: x86_64-unknown-linux-gnu ubuntu 11.10
>>> JobId: 12560
>>> Job: Restore_mail_bluewhale.2014-08-12_09.50.07_59
>>> Restore Client: besc-bs01
>>> Start time: 12-Aug-2014 09:50:09
>>> End time: 12-Aug-2014 10:12:40
>>> Files Expected: 1
>>> Files Restored: 0
>>> Bytes Restored: 0
>>> Rate: 0.0 KB/s
>>> FD Errors: 1
>>> FD termination status: OK
>>> SD termination status: OK
>>> Termination: Restore OK -- warning file count mismatch
>>>
>>>
>>> Why can I not restore my mail.tar file?
>>>
>>> Thanks --Kenny
>>>
>>>
>>>
>>> On Mon, Aug 11, 2014 at 8:29 PM, Phil Stracchino <phils AT caerllewys DOT
>>> net>
>>> wrote:
>>>
>>> > On 08/11/14 20:22, Kenny Noe wrote:
>>> > > Hi all,
>>> > >
>>> > > I am in desperate need of help. I have a server that had died. It was
>>> > > a faithful bacula client and I have backups I wish to recover. However
>>> > > when I run the restore command bacula waits on the "Client". What am i
>>> > > failing to understand? can I not restore files to a /tmp location from
>>> > > a Bacula backup w/o the actual client?? The client is dead...
>>> > >
>>> > > Help!!
>>> >
>>> > Restore to a temporary location on a different client. The client to
>>> > restore TO is one of the options in the restore job. When you've
>>> > finished selecting files, instead of saying Yes to the OK To Run prompt,
>>> > select Modify instead, and select a different client and a safe location
>>> > on that client.
>>> >
>>> >
>>> > --
>>> > Phil Stracchino
>>> > Babylon Communications
>>> > phils AT caerllewys DOT net
>>> > phil AT co.ordinate DOT org
>>> > Landline: 603.293.8485
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > _______________________________________________
>>> > Bacula-users mailing list
>>> > Bacula-users AT lists.sourceforge DOT net
>>> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>>> >
>>>
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Bacula-users] Restore from dead client,
Kenny Noe <=
|
|
|