[bareos-users] how to restore files

2019-11-04 Thread Ivan Mulhin
Hello, could you help us please, after our server was broken we have saved 
only a couple of files with backups, how to extract our files from bareos 
backup files without bareos
Thank you

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/0dee3c1c-7b50-4c1c-b916-8d0d6f80e0d7%40googlegroups.com.


Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-12-02 Thread Philipp Storz
Hello Christian,

I hope you were successful in restoring your data.

It looks like you are using Bareos in productive environment.

I would like to ask you to contemplate our commercial offerings.

A subscription would have given you access to the bareos.com repositories where 
the problem you ran
into would have already been fixed.

With a support contract we would have been able to help you directly with your 
problems.

Buying a subscription and/or support will help us to improve bareos.

Thank you very much,

very best regards,

Philipp




Am 28.11.2014 02:29, schrieb Christian Tardif:
> Philipp, you're the man 
> 
> This was E X A C T L Y my problem. Actually, I commented out the plugin 
> directory in the
> bareos-sd.conf file, and now, the database is recreating from my 600+  
> volumes. Now, let's see what
> goes out of this.
> 
> You made my day 
> 
> 
> Christian Tardif
> 
> 
> -- Message d'origine --
> De : "Philipp Storz" 
> À : "Christian Tardif" 
> Cc: bareos-users@googlegroups.com
> Envoyé 2014-11-27 09:18:24
> Objet : Re: [bareos-users] How to restore files (backup to disk) without the 
> catalog
> 
>> Hello Christian,
>>
>> it looks like you have ran into bug 338:
>>
>> see http://bugs.bareos.org/view.php?id=338
>>
>> Just move/delete the scsicrypto-sd.so plugin so that it doesnt get loaded, 
>> then it should work.
>>
>>
>> Best regards,
>>
>> Philipp
>>
>> Am 27.11.2014 14:28, schrieb Christian Tardif:
>>>  Catalog Backup: Yes, but that was somewhere in the crashed SAN :-( So not 
>>> accessible. The only
>>>  thing I can rely on is the medias.
>>>
>>>
>>>
>>>  So with a debug level at 500 (it creates a lot of stuff on the screen), it 
>>> gives me (I'm cutting
>>> off
>>>  some redundant stuff. But that's anyway a long listing, sorry 'bout that):
>>>
>>>  =
>>>
>>>  bscan: parse_bsr.c:192-0 Enter parse_bsf 
>>> /var/lib/bareos/bootstrap_bscan.bsr
>>>  bscan: lex.c:217-0 Open config file: /var/lib/bareos/bootstrap_bscan.bsr
>>>  bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
>>>  bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
>>>  bscan: parse_bsr.c:213-0 calling handler for volume
>>>  bscan: parse_bsr.c:200-0 parse got token=T_EOL
>>>  bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
>>>  bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
>>>  bscan: parse_bsr.c:213-0 calling handler for volume
>>>  bscan: parse_bsr.c:200-0 parse got token=T_EOL
>>>  bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
>>>  bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
>>>  bscan: parse_bsr.c:213-0 calling handler for volume
>>>
>>>  . (cut something like 2000 lines like that)
>>>
>>>  bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
>>>  bscan: stored_conf.c:857-0 Inserting director res: zeus.servinfo.stba-mon
>>>  bscan: stored_conf.c:857-0 Inserting device res: FileStorage2
>>>  bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
>>>  bscan: sd_plugins.c:308-0 Load sd plugins
>>>  bscan: plugins.c:182-0 load_plugins
>>>  bscan: plugins.c:279-0 Found plugin: name=scsicrypto-sd.so len=16
>>>  bscan: scsicrypto-sd.c:137-0 scsicrypto-sd: Loaded: size=72 version=2
>>>  bscan: sd_plugins.c:357-0 is_plugin_compatible called
>>>  bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-dir.so 
>>> len=13
>>>  bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=bpipe-fd.so len=11
>>>  bscan: plugins.c:279-0 Found plugin: name=python-sd.so len=12
>>>  bscan: sd_plugins.c:357-0 is_plugin_compatible called
>>>  bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-fd.so 
>>> len=12
>>>  bscan: sd_plugins.c:330-0 Loaded plugin: scsicrypto-sd.so
>>>  bscan: sd_plugins.c:330-0 Loaded plugin: python-sd.so
>>>  bscan: sd_plugins.c:333-0 num plugins=2
>>>  bscan: crypto_cache.c:55-0 Could not open crypto cache file. 
>>> /var/lib/bareos/bareos-sd.9103.cryptoc
>>>  ERR=No such file or directory
>>>  bscan: sd_plugins.c:403-0 === enter new_plugins ===
>>>  bscan: sd_plugins.c:419-0 sd-plugin-list size=2
>>>  bscan: sd_plugins.c:427-0 Instantiate sd-plugin_ctx_list=1d6e118 JobId=0
>>>

Re[2]: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-27 Thread Christian Tardif

Philipp, you're the man 

This was E X A C T L Y my problem. Actually, I commented out the plugin 
directory in the bareos-sd.conf file, and now, the database is 
recreating from my 600+  volumes. Now, let's see what goes out of this.


You made my day 


Christian Tardif


-- Message d'origine --
De : "Philipp Storz" 
À : "Christian Tardif" 
Cc: bareos-users@googlegroups.com
Envoyé 2014-11-27 09:18:24
Objet : Re: [bareos-users] How to restore files (backup to disk) without 
the catalog



Hello Christian,

it looks like you have ran into bug 338:

see http://bugs.bareos.org/view.php?id=338

Just move/delete the scsicrypto-sd.so plugin so that it doesnt get 
loaded, then it should work.



Best regards,

Philipp

Am 27.11.2014 14:28, schrieb Christian Tardif:
 Catalog Backup: Yes, but that was somewhere in the crashed SAN :-( So 
not accessible. The only

 thing I can rely on is the medias.



 So with a debug level at 500 (it creates a lot of stuff on the 
screen), it gives me (I'm cutting off
 some redundant stuff. But that's anyway a long listing, sorry 'bout 
that):


 =

 bscan: parse_bsr.c:192-0 Enter parse_bsf 
/var/lib/bareos/bootstrap_bscan.bsr
 bscan: lex.c:217-0 Open config file: 
/var/lib/bareos/bootstrap_bscan.bsr

 bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
 bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
 bscan: parse_bsr.c:213-0 calling handler for volume
 bscan: parse_bsr.c:200-0 parse got token=T_EOL
 bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
 bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
 bscan: parse_bsr.c:213-0 calling handler for volume
 bscan: parse_bsr.c:200-0 parse got token=T_EOL
 bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
 bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
 bscan: parse_bsr.c:213-0 calling handler for volume

 . (cut something like 2000 lines like that)

 bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
 bscan: stored_conf.c:857-0 Inserting director res: 
zeus.servinfo.stba-mon

 bscan: stored_conf.c:857-0 Inserting device res: FileStorage2
 bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
 bscan: sd_plugins.c:308-0 Load sd plugins
 bscan: plugins.c:182-0 load_plugins
 bscan: plugins.c:279-0 Found plugin: name=scsicrypto-sd.so len=16
 bscan: scsicrypto-sd.c:137-0 scsicrypto-sd: Loaded: size=72 version=2
 bscan: sd_plugins.c:357-0 is_plugin_compatible called
 bscan: plugins.c:276-0 Rejected plugin: want=-sd.so 
name=python-dir.so len=13
 bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=bpipe-fd.so 
len=11

 bscan: plugins.c:279-0 Found plugin: name=python-sd.so len=12
 bscan: sd_plugins.c:357-0 is_plugin_compatible called
 bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-fd.so 
len=12

 bscan: sd_plugins.c:330-0 Loaded plugin: scsicrypto-sd.so
 bscan: sd_plugins.c:330-0 Loaded plugin: python-sd.so
 bscan: sd_plugins.c:333-0 num plugins=2
 bscan: crypto_cache.c:55-0 Could not open crypto cache file. 
/var/lib/bareos/bareos-sd.9103.cryptoc

 ERR=No such file or directory
 bscan: sd_plugins.c:403-0 === enter new_plugins ===
 bscan: sd_plugins.c:419-0 sd-plugin-list size=2
 bscan: sd_plugins.c:427-0 Instantiate sd-plugin_ctx_list=1d6e118 
JobId=0

 bscan: sd_plugins.c:487-0 sd-plugin: return bVarJobId=0
 bscan: scsicrypto-sd.c:168-0 scsicrypto-sd: newPlugin JobId=0
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=8
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=9
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=10
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=12
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=14
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=16
 bscan: sd_plugins.c:530-0 sd-Plugin wants event=17
 bscan: butil.c:289-0 Using device: "FileStorage" for reading.
 bscan: dev.c:176-0 Allocate dev="FileStorage" (/mnt/backups)
 bscan: dev.c:299-0 init_dev: tape=0 dev_name=/mnt/backups
 bscan: acquire.c:694-0 JobId=0 enter attach_dcr_to_dev
 bscan: acquire.c:699-0 Attach Jid=0 dcr=1d6f238 size=0 
dev="FileStorage" (/mnt/backups)

 bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0001 JobId=0
 bscan: bsr.c:870-0 Added volume=BareosVol-0001 mediatype=
 bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0002 JobId=0

 ... (cut the list of 600+ other volumes identifiers)

 bscan: butil.c:183-0 Acquire device for read
 bscan: acquire.c:63-0 dcr=1d6f238 dev=1d6e728
 bscan: acquire.c:64-0 MediaType dcr= dev=File
 bscan: lock.c:412-0 set blocked=BST_DOING_ACQUIRE from lock.c:135
 bscan: acquire.c:92-0 Want Vol=BareosVol-0001 Slot=0
 bscan: acquire.c:106-0 MediaType dcr= dev=File
 bscan: acquire.c:174-0 MediaType dcr= dev=File
 bscan: acquire.c:191-0 dir_get_volume_info vol=BareosVol-0001
 bscan: bscan.c:1417-0 Fake dir_get_vol

Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-27 Thread Philipp Storz
Hello Christian,

it looks like you have ran into bug 338:

see http://bugs.bareos.org/view.php?id=338

Just move/delete the scsicrypto-sd.so plugin so that it doesnt get loaded, then 
it should work.


Best regards,

Philipp

Am 27.11.2014 14:28, schrieb Christian Tardif:
> Catalog Backup: Yes, but that was somewhere in the crashed SAN  :-(  So not 
> accessible. The only
> thing I can rely on is  the medias.
> 
>  
> 
> So with a debug level at 500 (it creates a lot of stuff on the screen), it 
> gives me (I'm cutting off
> some redundant stuff. But that's anyway a long listing, sorry 'bout that):
> 
> =
> 
> bscan: parse_bsr.c:192-0 Enter parse_bsf /var/lib/bareos/bootstrap_bscan.bsr
> bscan: lex.c:217-0 Open config file: /var/lib/bareos/bootstrap_bscan.bsr
> bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
> bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
> bscan: parse_bsr.c:213-0 calling handler for volume
> bscan: parse_bsr.c:200-0 parse got token=T_EOL
> bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
> bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
> bscan: parse_bsr.c:213-0 calling handler for volume
> bscan: parse_bsr.c:200-0 parse got token=T_EOL
> bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
> bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
> bscan: parse_bsr.c:213-0 calling handler for volume
> 
> . (cut something like 2000 lines like that)
> 
> bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
> bscan: stored_conf.c:857-0 Inserting director res: zeus.servinfo.stba-mon
> bscan: stored_conf.c:857-0 Inserting device res: FileStorage2
> bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
> bscan: sd_plugins.c:308-0 Load sd plugins
> bscan: plugins.c:182-0 load_plugins
> bscan: plugins.c:279-0 Found plugin: name=scsicrypto-sd.so len=16
> bscan: scsicrypto-sd.c:137-0 scsicrypto-sd: Loaded: size=72 version=2
> bscan: sd_plugins.c:357-0 is_plugin_compatible called
> bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-dir.so len=13
> bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=bpipe-fd.so len=11
> bscan: plugins.c:279-0 Found plugin: name=python-sd.so len=12
> bscan: sd_plugins.c:357-0 is_plugin_compatible called
> bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-fd.so len=12
> bscan: sd_plugins.c:330-0 Loaded plugin: scsicrypto-sd.so
> bscan: sd_plugins.c:330-0 Loaded plugin: python-sd.so
> bscan: sd_plugins.c:333-0 num plugins=2
> bscan: crypto_cache.c:55-0 Could not open crypto cache file. 
> /var/lib/bareos/bareos-sd.9103.cryptoc
> ERR=No such file or directory
> bscan: sd_plugins.c:403-0 === enter new_plugins ===
> bscan: sd_plugins.c:419-0 sd-plugin-list size=2
> bscan: sd_plugins.c:427-0 Instantiate sd-plugin_ctx_list=1d6e118 JobId=0
> bscan: sd_plugins.c:487-0 sd-plugin: return bVarJobId=0
> bscan: scsicrypto-sd.c:168-0 scsicrypto-sd: newPlugin JobId=0
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=8
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=9
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=10
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=12
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=14
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=16
> bscan: sd_plugins.c:530-0 sd-Plugin wants event=17
> bscan: butil.c:289-0 Using device: "FileStorage" for reading.
> bscan: dev.c:176-0 Allocate dev="FileStorage" (/mnt/backups)
> bscan: dev.c:299-0 init_dev: tape=0 dev_name=/mnt/backups
> bscan: acquire.c:694-0 JobId=0 enter attach_dcr_to_dev
> bscan: acquire.c:699-0 Attach Jid=0 dcr=1d6f238 size=0 dev="FileStorage" 
> (/mnt/backups)
> bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0001 JobId=0
> bscan: bsr.c:870-0 Added volume=BareosVol-0001 mediatype=
> bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0002 JobId=0
> 
> ... (cut the list of 600+ other volumes identifiers)
> 
> bscan: butil.c:183-0 Acquire device for read
> bscan: acquire.c:63-0 dcr=1d6f238 dev=1d6e728
> bscan: acquire.c:64-0 MediaType dcr= dev=File
> bscan: lock.c:412-0 set blocked=BST_DOING_ACQUIRE from lock.c:135
> bscan: acquire.c:92-0 Want Vol=BareosVol-0001 Slot=0
> bscan: acquire.c:106-0 MediaType dcr= dev=File
> bscan: acquire.c:174-0 MediaType dcr= dev=File
> bscan: acquire.c:191-0 dir_get_volume_info vol=BareosVol-0001
> bscan: bscan.c:1417-0 Fake dir_get_volume_info
> bscan: bscan.c:1419-0 Vol=BareosVol-0001
> bscan: sd_plugins.c:252-0 sd-plugin_ctx_list=1d6e118 JobId=0
> bscan: scsicrypto-sd.c:245-0 scsicrypto-sd: handlePluginEvent event 12
> bscan: sd_plugins.c:207-0 Event 12 disabled for this plugin.
> bscan: mount.c:592-0 No swap_dev set
> bscan: mount.c:542-0 Must load "FileStorage" (/mnt/backups)
> bscan: autochanger.c:99-0 Device "FileStorage" (/mnt/backups) is not an 
> autochanger
> bscan: sd_plugins.c:252-0 sd-plugin_ctx_list=1d6e118 JobId=0
> bscan: sd_plugins.c:207-0 Event 5 disabled for this plugin.
> bscan: sd_plugins.c:207-0 Eve

Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-27 Thread Christian Tardif
 

Catalog Backup: Yes, but that was somewhere in the crashed SAN :-( So
not accessible. The only thing I can rely on is the medias. 

So with a debug level at 500 (it creates a lot of stuff on the screen),
it gives me (I'm cutting off some redundant stuff. But that's anyway a
long listing, sorry 'bout that): 

= 

bscan: parse_bsr.c:192-0 Enter parse_bsf
/var/lib/bareos/bootstrap_bscan.bsr
bscan: lex.c:217-0 Open config file: /var/lib/bareos/bootstrap_bscan.bsr
bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
bscan: parse_bsr.c:213-0 calling handler for volume
bscan: parse_bsr.c:200-0 parse got token=T_EOL
bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
bscan: parse_bsr.c:213-0 calling handler for volume
bscan: parse_bsr.c:200-0 parse got token=T_EOL
bscan: parse_bsr.c:200-0 parse got token=T_IDENTIFIER
bscan: parse_bsr.c:207-0 in T_IDENT got token=T_EQUALS
bscan: parse_bsr.c:213-0 calling handler for volume 

. (cut something like 2000 lines like that) 

bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
bscan: stored_conf.c:857-0 Inserting director res:
zeus.servinfo.stba-mon
bscan: stored_conf.c:857-0 Inserting device res: FileStorage2
bscan: lex.c:217-0 Open config file: /etc/bareos/bareos-sd.conf
bscan: sd_plugins.c:308-0 Load sd plugins
bscan: plugins.c:182-0 load_plugins
bscan: plugins.c:279-0 Found plugin: name=scsicrypto-sd.so len=16
bscan: scsicrypto-sd.c:137-0 scsicrypto-sd: Loaded: size=72 version=2
bscan: sd_plugins.c:357-0 is_plugin_compatible called
bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-dir.so
len=13
bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=bpipe-fd.so
len=11
bscan: plugins.c:279-0 Found plugin: name=python-sd.so len=12
bscan: sd_plugins.c:357-0 is_plugin_compatible called
bscan: plugins.c:276-0 Rejected plugin: want=-sd.so name=python-fd.so
len=12
bscan: sd_plugins.c:330-0 Loaded plugin: scsicrypto-sd.so
bscan: sd_plugins.c:330-0 Loaded plugin: python-sd.so
bscan: sd_plugins.c:333-0 num plugins=2
bscan: crypto_cache.c:55-0 Could not open crypto cache file.
/var/lib/bareos/bareos-sd.9103.cryptoc ERR=No such file or directory
bscan: sd_plugins.c:403-0 === enter new_plugins ===
bscan: sd_plugins.c:419-0 sd-plugin-list size=2
bscan: sd_plugins.c:427-0 Instantiate sd-plugin_ctx_list=1d6e118 JobId=0
bscan: sd_plugins.c:487-0 sd-plugin: return bVarJobId=0
bscan: scsicrypto-sd.c:168-0 scsicrypto-sd: newPlugin JobId=0
bscan: sd_plugins.c:530-0 sd-Plugin wants event=8
bscan: sd_plugins.c:530-0 sd-Plugin wants event=9
bscan: sd_plugins.c:530-0 sd-Plugin wants event=10
bscan: sd_plugins.c:530-0 sd-Plugin wants event=12
bscan: sd_plugins.c:530-0 sd-Plugin wants event=14
bscan: sd_plugins.c:530-0 sd-Plugin wants event=16
bscan: sd_plugins.c:530-0 sd-Plugin wants event=17
bscan: butil.c:289-0 Using device: "FileStorage" for reading.
bscan: dev.c:176-0 Allocate dev="FileStorage" (/mnt/backups)
bscan: dev.c:299-0 init_dev: tape=0 dev_name=/mnt/backups
bscan: acquire.c:694-0 JobId=0 enter attach_dcr_to_dev
bscan: acquire.c:699-0 Attach Jid=0 dcr=1d6f238 size=0 dev="FileStorage"
(/mnt/backups)
bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0001 JobId=0
bscan: bsr.c:870-0 Added volume=BareosVol-0001 mediatype=
bscan: vol_mgr.c:153-0 add read_vol=BareosVol-0002 JobId=0 

... (cut the list of 600+ other volumes identifiers) 

bscan: butil.c:183-0 Acquire device for read
bscan: acquire.c:63-0 dcr=1d6f238 dev=1d6e728
bscan: acquire.c:64-0 MediaType dcr= dev=File
bscan: lock.c:412-0 set blocked=BST_DOING_ACQUIRE from lock.c:135
bscan: acquire.c:92-0 Want Vol=BareosVol-0001 Slot=0
bscan: acquire.c:106-0 MediaType dcr= dev=File
bscan: acquire.c:174-0 MediaType dcr= dev=File
bscan: acquire.c:191-0 dir_get_volume_info vol=BareosVol-0001
bscan: bscan.c:1417-0 Fake dir_get_volume_info
bscan: bscan.c:1419-0 Vol=BareosVol-0001
bscan: sd_plugins.c:252-0 sd-plugin_ctx_list=1d6e118 JobId=0
bscan: scsicrypto-sd.c:245-0 scsicrypto-sd: handlePluginEvent event 12
bscan: sd_plugins.c:207-0 Event 12 disabled for this plugin.
bscan: mount.c:592-0 No swap_dev set
bscan: mount.c:542-0 Must load "FileStorage" (/mnt/backups)
bscan: autochanger.c:99-0 Device "FileStorage" (/mnt/backups) is not an
autochanger
bscan: sd_plugins.c:252-0 sd-plugin_ctx_list=1d6e118 JobId=0
bscan: sd_plugins.c:207-0 Event 5 disabled for this plugin.
bscan: sd_plugins.c:207-0 Event 5 disabled for this plugin.
bscan: acquire.c:222-0 stored: open vol=BareosVol-0001
bscan: dev.c:363-0 open dev: type=1 dev_name="FileStorage"
(/mnt/backups) vol=BareosVol-0001 mode=OPEN_READ_ONLY
bscan: dev.c:372-0 call open_file_device mode=OPEN_READ_ONLY
bscan: dev.c:1866-0 Enter mount
bscan: sd_plugins.c:252-0 sd-plugin_ctx_list=1d6e118 JobId=0
bscan: sd_plugins.c:207-0 Event 4 disabled for this plugin.
bscan: sd_plugins.c:207-0 Event 4 disabled for

Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-26 Thread Philipp Storz
You should run the bscan command with high debug level (e.g. 400 or 500).

I expect that it will tell you what is the problem.

You really never did a catalog db backup?

Am 27.11.2014 04:11, schrieb Christian Tardif:
> 
> bscan: butil.c:289-0 Using device: "FileStorage" for reading.
> 26-Nov 22:11 bscan JobId 0: Warning: acquire.c:226 Read open device 
> "FileStorage" (/mnt/backups)
> Volume "a" failed: ERR=dev.c:556 Could not open: /mnt/backups/a, 
> ERR=No such file or directory


-- 
Mit freundlichen Grüßen

 Philipp Storz philipp.st...@bareos.com
 Bareos GmbH & Co. KG   Phone: Phone: +49221630693-92
 http://www.bareos.com  Fax: +49221630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re[3]: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-26 Thread Christian Tardif
 As a side note, I know that bscan actually see the file, because if I 
try a non-existing file (like aaa for example), I'm getting this:


bscan: butil.c:289-0 Using device: "FileStorage" for reading.
26-Nov 22:11 bscan JobId 0: Warning: acquire.c:226 Read open device 
"FileStorage" (/mnt/backups) Volume "a" failed: ERR=dev.c:556 Could 
not open: /mnt/backups/a, ERR=No such file or directory




Christian Tardif


-- Message d'origine --
De : "Christian Tardif" 
À : "Philipp Storz" ; 
bareos-users@googlegroups.com

Envoyé 2014-11-26 21:44:29
Objet : Re[2]: [bareos-users] How to restore files (backup to disk) 
without the catalog


OK. It looks like I have to go the hard way, and completely recreate 
the catalog from backups. Due to the number of volumes I have, I 
created a bootstrap file, as said on the documentation, that sets every 
volume I have.


My bscan command has to be used against files, not tapes. Since the 
storage daemon configuration is the same as before the crash (the 
storage server is not on my SAN), I know it is correct. So the command 
I'm trying to use is:


bscan -s -v -b /var/lib/bareos/bootstrap_bscan.bsr FileStorage

(will enter database information later)

As a result, I'm getting this:

bls: butil.c:289-0 Using device: "FileStorage" for reading.
26-Nov 21:40 bls JobId 0: Warning: acquire.c:267 Read acquire: Mount 
Volume "BareosVol-0001" on device "FileStorage" (/mnt/backups) and 
press return when ready:


I'm getting the last part multiple times, and it finally ends up 
saying:


26-Nov 21:40 bls JobId 0: Fatal error: acquire.c:316 Too many errors 
trying to mount device "FileStorage" (/mnt/backups) for reading.


Looks like it can't open the file for reading. Permissions issues ? 
Missing simething from the command line ?




Christian Tardif





-- Message d'origine --
De : "Philipp Storz" 
À : bareos-users@googlegroups.com
Envoyé 2014-11-26 03:21:47
Objet : Re: [bareos-users] How to restore files (backup to disk) 
without the catalog



Hello,

yes, exactly as Bruno says, you need to get you catalog back.

If you have the bootstrap record of your last backup in an email, it 
is relatively easy to get it back.


See "Restoring When Things Go Wrong" in the manual:
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-416000I.6.4

You can also use bextract and give it your bootstrap file with the -b 
parameter.

It will then directly extract your last catalog backup.

I wish you success!



Am 26.11.2014 08:36, schrieb Bruno Friedmann:

 On Wednesday 26 November 2014 06.37:35 Christian Tardif wrote:

 Hi,

 I have my SAN that crashed tonight, and I'd like to know what are 
my

 options to restore my files from my Bareos backups. My backups are
 backup-to-disk, but the catalog was on the SAN, as long as any 
other
 configuration. I really need to be able to restore from these 
backup

 files.

 How can I achieve this ?

 Thanks,


 I would say, recreate a catalog db server somewhere,
 and restore your last backup catalog there.

 You can use bscan to recreate the catalog from media

 And at least using bls/bextract tools when nothing else could be 
used.





--
Mit freundlichen Grüßen

 Philipp Storz philipp.st...@bareos.com
 Bareos GmbH & Co. KG Phone: Phone: +49221630693-92
 http://www.bareos.com Fax: +49221630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

--
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 bareos-users+unsubscr...@googlegroups.com.

To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 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 bareos-users+unsubscr...@googlegroups.com.

To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re[2]: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-26 Thread Christian Tardif
OK. It looks like I have to go the hard way, and completely recreate the 
catalog from backups. Due to the number of volumes I have, I created a 
bootstrap file, as said on the documentation, that sets every volume I 
have.


My bscan command has to be used against files, not tapes. Since the 
storage daemon configuration is the same as before the crash (the 
storage server is not on my SAN), I know it is correct. So the command 
I'm trying to use is:


bscan -s -v -b /var/lib/bareos/bootstrap_bscan.bsr FileStorage

(will enter database information later)

As a result, I'm getting this:

bls: butil.c:289-0 Using device: "FileStorage" for reading.
26-Nov 21:40 bls JobId 0: Warning: acquire.c:267 Read acquire: Mount 
Volume "BareosVol-0001" on device "FileStorage" (/mnt/backups) and press 
return when ready:


I'm getting the last part multiple times, and it finally ends up saying:

26-Nov 21:40 bls JobId 0: Fatal error: acquire.c:316 Too many errors 
trying to mount device "FileStorage" (/mnt/backups) for reading.


Looks like it can't open the file for reading. Permissions issues ?  
Missing simething from the command line ?




Christian Tardif





-- Message d'origine --
De : "Philipp Storz" 
À : bareos-users@googlegroups.com
Envoyé 2014-11-26 03:21:47
Objet : Re: [bareos-users] How to restore files (backup to disk) without 
the catalog



Hello,

yes, exactly as Bruno says, you need to get you catalog back.

If you have the bootstrap record of your last backup in an email, it is 
relatively easy to get it back.


See "Restoring When Things Go Wrong" in the manual:
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-416000I.6.4

You can also use bextract and give it your bootstrap file with the -b 
parameter.

It will then directly extract your last catalog backup.

I wish you success!



Am 26.11.2014 08:36, schrieb Bruno Friedmann:

 On Wednesday 26 November 2014 06.37:35 Christian Tardif wrote:

 Hi,

 I have my SAN that crashed tonight, and I'd like to know what are my
 options to restore my files from my Bareos backups. My backups are
 backup-to-disk, but the catalog was on the SAN, as long as any other
 configuration. I really need to be able to restore from these backup
 files.

 How can I achieve this ?

 Thanks,


 I would say, recreate a catalog db server somewhere,
 and restore your last backup catalog there.

 You can use bscan to recreate the catalog from media

 And at least using bls/bextract tools when nothing else could be 
used.





--
Mit freundlichen Grüßen

 Philipp Storz philipp.st...@bareos.com
 Bareos GmbH & Co. KG Phone: Phone: +49221630693-92
 http://www.bareos.com Fax: +49221630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

--
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 bareos-users+unsubscr...@googlegroups.com.

To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-26 Thread Philipp Storz
Hello,

yes, exactly as Bruno says, you need to get you catalog back.

If you have the bootstrap record of your last backup in an email, it is 
relatively easy to get it back.

See "Restoring When Things Go Wrong" in the manual:
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-416000I.6.4

You can also use bextract and give it your bootstrap file with the -b parameter.
It will then directly extract your last catalog backup.

I wish you success!



Am 26.11.2014 08:36, schrieb Bruno Friedmann:
> On Wednesday 26 November 2014 06.37:35 Christian Tardif wrote:
>> Hi,
>>
>> I have my SAN that crashed tonight, and I'd like to know what are my 
>> options to restore my files from my Bareos backups. My backups are 
>> backup-to-disk, but the catalog was on the SAN, as long as any other 
>> configuration.  I really need to be able to restore from these backup 
>> files.
>>
>> How can I achieve this ?
>>
>> Thanks,
> 
> I would say, recreate a catalog db server somewhere, 
> and restore your last backup catalog there.
> 
> You can use bscan to recreate the catalog from media 
> 
> And at least using bls/bextract tools when nothing else could be used.
> 


-- 
Mit freundlichen Grüßen

 Philipp Storz philipp.st...@bareos.com
 Bareos GmbH & Co. KG   Phone: Phone: +49221630693-92
 http://www.bareos.com  Fax: +49221630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Geschäftsführer: Stephan Dühr, M. Außendorf,
 J. Steffens, P. Storz, M. v. Wieringen

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [bareos-users] How to restore files (backup to disk) without the catalog

2014-11-25 Thread Bruno Friedmann
On Wednesday 26 November 2014 06.37:35 Christian Tardif wrote:
> Hi,
> 
> I have my SAN that crashed tonight, and I'd like to know what are my 
> options to restore my files from my Bareos backups. My backups are 
> backup-to-disk, but the catalog was on the SAN, as long as any other 
> configuration.  I really need to be able to restore from these backup 
> files.
> 
> How can I achieve this ?
> 
> Thanks,

I would say, recreate a catalog db server somewhere, 
and restore your last backup catalog there.

You can use bscan to recreate the catalog from media 

And at least using bls/bextract tools when nothing else could be used.

-- 

Bruno Friedmann 
Ioda-Net Sàrl www.ioda-net.ch
 
 openSUSE Member & Board, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[bareos-users] How to restore files (backup to disk) without the catalog

2014-11-25 Thread Christian Tardif

Hi,

I have my SAN that crashed tonight, and I'd like to know what are my 
options to restore my files from my Bareos backups. My backups are 
backup-to-disk, but the catalog was on the SAN, as long as any other 
configuration.  I really need to be able to restore from these backup 
files.


How can I achieve this ?

Thanks,



Christian Tardif
christian.tar...@servinfo.ca


--
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 bareos-users+unsubscr...@googlegroups.com.
To post to this group, send email to bareos-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.