Hi,

On 9/19/2006 11:19 AM, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I'm in the situation that I used the great bacula backup suite, I'm in need 
> of restoring a backup and I've not the knowledge to restore it. I would be 
> glad if someone would help me.
> 
> The situation:
> I'd backed up my data for a while to a disk, until the Volume had filled up. 
> I tried a restore some time after that and then "status Storage" said device 
> is blocked, waiting for an appendable media".

This probably means that there's backup job still waiting.

> I freed some space on the disk where the backupfiles are located and 
> restarted the bacula services. No effect, Storage not mountable. Then, in not 
> exactly knowing what it causes, I labeled the File Storage again.

You should make sure the SD is running - killing the FD at this point 
won't help you :-)

> I tried to unmount/mount the Storage and I get "3906 cannot mount non-tape."
> 
> Is there still any way to get my data out of the backup file? 

Most probably, yes.

Unfortunately, you don't give enough details to understand the problem...

See below for more information.

> My Configuration(director,storage-daemon) follows... 
> Verions: 
> debian sarge/testing
> bacula 1.36.2-2sarge1

Rather old, but should work anyway...

> Filesystems are reiserfs
> Catalog-DB-Type: sqlite

Not exactly the catalog backend for best performance.


> Thanks for your help,
> Tobias
> 
> === bacula-sd.conf ========= 
> Storage {
>   Name = darwin-sd
>   SDPort = 9103
>   WorkingDirectory = "/var/lib/bacula"
>   Pid Directory = "/var/run/bacula"
>   Maximum Concurrent Jobs = 20
> }
> 
> Director {
>   Name = darwin-dir
>   Password = ""
> }
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /backup/bacula/volumes
>   LabelMedia = yes;
>   Random Access = Yes;
>   AutomaticMount = yes;
>   RemovableMedia = no;
>   AlwaysOpen = no;
> }
> 
> Messages {
>   Name = Standard
>   director = darwin-dir = all
> }
> === bacula-dir.conf(important parts) ========= 
> Director {                            
>   Name = darwin-dir
>   DIRport = 9101               
>   QueryFile = "/etc/bacula/scripts/query.sql"
>   WorkingDirectory = "/var/lib/bacula"
>   PidDirectory = "/var/run/bacula"
>   Maximum Concurrent Jobs = 1
>   Password = ""         
>   Messages = Daemon
> }
> 
> JobDefs {
>   Name = "DefaultJob"
>   Type = Backup
>   Level = Incremental
>   Client = darwin-fd
>   FileSet = "darwin_ohne_mirror"
>   Schedule = "WeeklyCycle"
>   Storage = File
>   Messages = Standard
>   Pool = Default
>   Priority = 10
> }
> Job {
>   Name = "nullpunkt"
>   Client = nullpunkt-fd
>   JobDefs = "DefaultJob"
>   FileSet = "nullpunkt_files"
>   Schedule = "WeeklyInWorkTime"
>   Write Bootstrap = "/var/lib/bacula/nullpunkt.bsr"
> }
> FileSet {
>   Name = "nullpunkt_files"
>   Include {
>     Options {
>       signature = MD5
>     }
>     File = /home
>     File = /etc
>   }
> }
> Schedule {
>   Name = "WeeklyInWorkTime"
>   Run = Full 1st mon at 16:00
>   Run = Differential 2nd-5th mon at 16:00
>   Run = Incremental thu-fri at 16:00
> }
> Client {
>   Name = nullpunkt-fd
>   Address = 192.168.13.2
>   FDPort = 9102
>   Catalog = MyCatalog
>   Password = "ngrffhrjgkksskfhsdsdhfisdhfdk" 
>   File Retention = 40 days    
>   Job Retention = 40 days
>   AutoPrune = yes           
> }
> Storage {
>   Name = File
>   Address = darwin
>   SDPort = 9103
>   Password = ""
>   Device = FileStorage
>   Media Type = File
> }
> Catalog {
>   Name = MyCatalog
>   dbname = bacula;  
>   password = "@db_pswd@"
> }
> Pool {
>   Name = Default
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Accept Any Volume = yes
>   VolumeRetention = 40 days
> }
> Console {
>   Name = darwin-mon
>   Password = ""
>   CommandACL = status, .status
> }
> 
> 

Ok, the configuration doesn't look broken.

First, make sure all the daemons are running and the device is not in 
use by a backup job. Assuming your backups are already done (or you 
cancelled them, for example by restarting the FD :-) simply shut down 
the whole Bacula system - DIR, SD and FD - and start it again.

When you have bacula runing and use bconsole to start a restore job, 
everything should work normally or you should at least get meaningful 
messages.

Arno

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to