Hi,
On 3/22/2006 4:19 PM, Erich Prinz wrote:
Manually creating a bootstrap record: how?! Inquiring minds want to know!
Ok, keep in mind that I haven't tried it myself...
A bootstrap file with minimal content is rather simple, I think:
An example from my installation, the head end:
more /srv/nfsexport/bacula/LinuxElfSys.bootstrap
# 09-Mar-2006 01:08:52 - ElfSys.2006-03-07_08.20.03 - Full
Volume="DLT-IV-0015"
MediaType="DLTIV"
VolSessionId=2
VolSessionTime=1141713138
VolFile=16-16
VolBlock=7446-15499
FileIndex=1-45189
Volume="DLT-IV-0015"
The information you need is all in the catalog, obviously. How to select
what you need is something I can't say without some serious manual and
source code reading, but I'm sure it isn't too hard to implement in SQL.
I created a client record and inadvertently left out the bootstrap
directive. No problem since it was a local test machine, but given my
ability to really hose things up it would be super to have a way to
'recover' from my own mistakes.
I'd start by re-reading the developers manual section explaining the
catalog tables. It starts with an overview of the database actions
happening during backup, and later gives details about all the tables in
the catalog.
Referencing Karl H.s recover.pl script might also be useful - after all,
that script, AFAIK, collects justthe information you need.
Arno
Erich
On Mar 22, 2006, at 4:05 AM, Arno Lehmann wrote:
Hello,
On 3/22/2006 10:29 AM, Rene Brask Sørensen wrote:
Hi all
I have quite a big problem restoring a windows fileset, I can't
traverse the filetree bacula builds but when I search for the file I
want to restore I can find it. It seems like my problem comes from
my fileset definition where I have used a backslash instead of a
"front" slash.
Quite possible...
how can I restore the file ? can I just fit the fileset definition
and then restore the file ?
Well, I'd recommend correcting the file set as soon as possible, but
that will _not_ fix existing backups. For your current problem, you
could try to locate the file in question in the catalog database and
manually create a bootstrap file for it.
I never tried this, but I'm quite sure that it should be possible
and, in case that file is really important, it's definitely worh the
effort. You could also try to use bextract to dump a whole tapes
contents to a local disk, I think.
Arno
please help
Best regards
René
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users