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 "aaaaa" failed: ERR=dev.c:556 Could
not open: /mnt/backups/aaaaa, ERR=No such file or directory
--------------------------------------------------------------------------------
Christian Tardif
------ Message d'origine ------
De : "Christian Tardif" <[email protected]>
À : "Philipp Storz" <[email protected]>;
[email protected]
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" <[email protected]>
À : [email protected]
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 [email protected]
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 [email protected].
To post to this group, send email to [email protected].
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 [email protected].
To post to this group, send email to [email protected].
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.