Bacula-users

Re: [Bacula-users] Problem with restore

2008-05-09 07:20:58
Subject: Re: [Bacula-users] Problem with restore
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 09 May 2008 13:18:19 +0200
Hi,

09.05.2008 11:24, Tomasz Moczadłowski wrote:
> I have been successfully backing up data from multiple clients and now 
> wanted to test the restore.
> Apparently, although bacula claims a file is restored, it's not!
> 
> This is my procedure to restore a file called testfile:
> 
> $ mark testfile
> 1 file marked.
> $ done
> Bootstrap records written to /var/bacula/file-server-dir.1.restore.bsr
> 
> The job will require the following Volumes:
> 
>    mail0001
> 
> 
> 1 file selected to be restored.
> 
> Run Restore job
> JobName:    RestoreFiles
> Bootstrap:  /var/bacula/server-dir.1.restore.bsr
> Where:      /mnt/storage/restore
> Replace:    always
> FileSet:    server Full Set
> Client:     mail-fd

Have you checked on *this* machine?

> Storage:    FileStorage_mail
> When:       2008-05-09 11:16:56
> Catalog:    MyCatalog
> Priority:   10
> OK to run? (yes/mod/no): y
> Job started. JobId=2394
> 
> 
> A message from bacula-dir after restore:
> 
> *mes
> 09-May 11:16 server-dir: Start Restore Job RestoreFiles.2008-05-09_11.16.57
> 09-May 11:17 server-sd: Ready to read from volume "mail0001" on device 
> "Directory_mail" (/mnt/storage/mail).
> 09-May 11:17 server-sd: End of file 0  on device "Directory_mail" 
> (/mnt/filestorage/mail), Volume "mail0001"
> 09-May 11:17 server-sd: End of Volume at file 0 on device 
> "Directory_mail" (/mnt/filestorage/mail), Volume "mail0001"
> 09-May 11:17 server-sd: End of all volumes.
> 09-May 11:17 server-dir: Bacula 1.38.11 (28Jun06): 09-May-2008 11:17:00
>   JobId:                  2394
>   Job:                    RestoreFiles.2008-05-09_11.16.57
>   Client:                 mail-fd
>   Start time:             09-May-2008 11:16:59
>   End time:               09-May-2008 11:17:00
>   Files Expected:         1
>   Files Restored:         1
>   Bytes Restored:         7
>   Rate:                   0.0 KB/s
>   FD Errors:              0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:            Restore OK
> 
> 09-May 11:17 server-dir: Begin pruning Jobs.
> 09-May 11:17 server-dir: No Jobs found to prune.
> 09-May 11:17 server-dir: Begin pruning Files.
> 09-May 11:17 server-dir: No Files found to prune.
> 09-May 11:17 server-dir: End auto prune.
> 
> 
> I assume my file should be in /mnt/storage/restore but this directory is 
> empty! Why can it be so?

Perhaps because you're looking at the DIR server?

Arno

> --
> Nunatarsuaq
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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>