On 30.01.2018 at 18:08 wrote Jens Köhler:
> Hello guys,
> 
>  
> 
> we want to simulate a disaster recovery in case our Bareos server gets
> destroyed. So we setup a new virtual machine running Bareos 17.2.4. When
> we try to start bscan to either recover the database with a bootstrap
> file or to scan a volume from tape, bscan just exits with different errors:
> 
>  
> 
> -
> 
>  
> 
> bscan -B mysql -V AI-Consolidated-0001 -c
> /etc/bareos/bareos-dir.d/storage/backup.conf FileStorage1 -s -S

With -c you specify the Storage Daemon configuration, not a Director
configuration. If it is located at the default location, there is no
need to specify them at all.
However, you have to specify the database settings.


> bscan: ERROR TERMINATION at parse_conf.c:292
> 
> *Config error: Keyword "Address" not permitted in this resource.*
> 
> Perhaps you left the trailing brace off of the previous resource.
> 
>             : line 3, col 10 of file
> /etc/bareos/bareos-dir.d/storage/backup.conf
> 
>   Address = backup                # N.B. Use a fully qualified name here
> (do not use "localhost" here).
> 
>  
> 
> -
> 
>  
> 
> According to an old Bacula manual, they keyword „Address“ should be
> „SDAddress“.
> 
>  
> 
> After changing that, bscan shows the same error message for Config
> error: „*Keyword "Password" not permitted in this resource.*“
> 
>  
> 
>  
> 
> What is the correct way to recover volumes/database/catalog from a
> remote storage daemon on a fresh Bareos install (using bscan)?
> 
>  
> 
>  
> 
> Thanks in advance
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.


-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to