]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manual/restore.tex
Update
[bacula/docs] / docs / manual / restore.tex
index c90aab8d7559cfa12b6477965764240e7949c458..3799650cffb47eb0a37ea31b4daaac670f384a04 100644 (file)
@@ -1001,8 +1001,18 @@ OK to run? (yes/mod/no):
    Client, Storage, Catalog, and Where are correct.  The FileSet is not
    used when you specify a bootstrap file.  Once you have set all the
    correct values, run the Job and it will restore the backup of your
-   database.  You will then need to follow the instructions for your
+   database, which is most likely an ASCII dump. 
+
+   You will then need to follow the instructions for your
    database type to recreate the database from the ASCII backup file.
+   See the \ilink {Catalog Maintenance}{_ChapterStart12} chapter of
+   this manual for examples of the command needed to restore a 
+   database from an ASCII dump (they are shown in the Compacting Your
+   XXX Database sections).
+    
+   Also, please note that after you restore your database from an ASCII
+   backup, you do NOT want to do a {\bf make_bacula_tables}  command, or
+   you will probably erase your newly restored database tables.
 
       
 \item[Solution]
@@ -1048,10 +1058,12 @@ Job=CatalogBackup.2005-04-22_01.10.0
 
 \end{verbatim}
 \normalsize
+
   From the above information, you can manually create a bootstrap file,
   and then follow the instructions given above for restoring your database.
   A reconstructed bootstrap file for the above backup Job would look
   like the following:
+
 \footnotesize
 \begin{verbatim}
 Volume="DLT-22Apr05"
@@ -1060,6 +1072,7 @@ VolSessionTime=1114075126
 FileIndex=1-1
 \end{verbatim}
 \normalsize    
+
   Where we have inserted the Volume name, Volume Session Id, and Volume
   Session Time that correspond to the values in the job report.  We've also
   used a FileIndex of one, which will always be the case providing that
@@ -1070,6 +1083,7 @@ FileIndex=1-1
   specified, so the restore code must search all data in the Volume to find
   the requested file.  A fully specified bootstrap file would have the File
   and Blocks specified as follows:
+
 \footnotesize
 \begin{verbatim}
 Volume="DLT-22Apr05"
@@ -1081,6 +1095,19 @@ FileIndex=1-1
 \end{verbatim}
 \normalsize
 
+   Once you have restored the ASCII dump of the database,
+   you will then to follow the instructions for your
+   database type to recreate the database from the ASCII backup file.
+   See the \ilink {Catalog Maintenance}{_ChapterStart12} chapter of
+   this manual for examples of the command needed to restore a 
+   database from an ASCII dump (they are shown in the Compacting Your
+   XXX Database sections).
+    
+   Also, please note that after you restore your database from an ASCII
+   backup, you do NOT want to do a {\bf make_bacula_tables}  command, or
+   you will probably erase your newly restored database tables.
+
+
 \item [Problem]
    I try to restore the last known good full backup by specifying
    item 3 on the restore menu then the JobId to restore.  Bacula