I did bareos recover (for older version) this way 
<http://www.voleg.info/bareos-disaster-recovery.html>. ( 
http://www.voleg.info/bareos-disaster-recovery.html )

On Friday, January 8, 2021 at 6:40:21 PM UTC+2 [email protected] wrote:

> Hi,
>
> I'm trying to restore the bareos database from the backup files with 
> bscan, however, while it worked until some days ago, it doesn't work now 
> and I don't understand what's the cause.
>
>
> Here is the my bscan command:
> root@atlante:/srv/casa/bareos-recover# bscan -c/etc/bareos/ -d 999 -B 
> postgresql -n bareos -u bareos -P '{password}' -v -m -s -b 
> bootstrap-full-recover.bsr /srv/casa/bareos-recover/data/
> bscan: butil.c:267-0 Could not find device 
> "/srv/casa/bareos-recover/data/" in config file /etc/bareos/.
> 08-gen 17:31 bscan JobId 0: Fatal error: butil.c:141 Cannot find device 
> "/srv/casa/bareos-recover/data/" in config file /etc/bareos/.
>
> The file /etc/bareos/bareos-sd.d/storage/FileStorage.conf contains the 
> storage:
> Device {
>   Name = FileStorage
>   Media Type = File
> #  Archive Device = /var/lib/bareos/storage
>  Archive Device = /srv/casa/bareos-recover/data
>   LabelMedia = yes;                   # lets Bareos label unlabeled media
>   Random Access = yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = no;
>   Description = "File device. A connecting Director must have the same 
> Name and MediaType."
> }
>
> Attached to the email is the full log with debug info.
>
> Any clue on what I'm doing wrong? Maybe a permission issue, eve though I'm 
> running the command as root?
>
> Thanks,
> Andrea
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9c0f67dc-d928-454e-8b5f-8294fe2fedcdn%40googlegroups.com.

Reply via email to