]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/main/restore.tex
Remove reference to SQLite from manual
[bacula/docs] / docs / manuals / en / main / restore.tex
index 8481e0f166534a18061e3bd753580edb3f907820..00009d10f92211af0100b11884421d8598040bce 100644 (file)
@@ -14,7 +14,7 @@ to restore files by automatically starting a job as you do with Backup,
 Verify, ... jobs.  However, in addition to the console restore command,
 there is a standalone program named {\bf bextract}, which also permits
 restoring files.  For more information on this program, please see the
-\ilink{Bacula Utility Programs}{bextract} chapter of this manual. We 
+\borgxrlink{bextract}{bextract}{utility}{command} in the \utilityman{}. We
 don't particularly recommend the {\bf bextract} program because it
 lacks many of the features of the normal Bacula restore, such as the 
 ability to restore Win32 files to Unix systems, and the ability to
@@ -25,7 +25,7 @@ You may also want to look at the {\bf bls} program in the same chapter,
 which allows you to list the contents of your Volumes.  Finally, if you
 have an old Volume that is no longer in the catalog, you can restore the
 catalog entries using the program named {\bf bscan}, documented in the same
-\ilink{Bacula Utility Programs}{bscan} chapter.
+\borgxrlink{bscan}{bscan}{utility}{command} in the \utilityman{}.
 
 In general, to restore a file or a set of files, you must run a {\bf restore}
 job. That is a job with {\bf Type = Restore}. As a consequence, you will need
@@ -70,8 +70,7 @@ program's interactive file selection mode.
 If a Job's file records have been pruned from the catalog, the {\bf restore}
 command will be unable to find any files to restore. Bacula will ask if you
 want to restore all of them or if you want to use a regular expression to
-restore only a selection while reading media. See \ilink{FileRegex
-  option}{FileRegex} and below for more details on this.
+restore only a selection while reading media. See \ilink{FileRegex option}{FileRegex} and below for more details on this.
 
 Within the Console program, after entering the {\bf restore} command, you are
 presented with the following selection prompt:  
@@ -714,22 +713,9 @@ You can use several expressions separated by a commas.
 
 \subsection*{Examples}
 
-\begin{tabular}{|c|c|c|l|}
-\hline
-Orignal filename & New filename & RegexWhere & Comments \\
-\hline
-\hline
-\texttt{c:/system.ini} & \texttt{c:/system.old.ini} & \texttt{/.ini\$/.old.ini/} & \$ matches end of name\\
-\hline
-\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata}  & \texttt{/prod/rect/,/pdata/rdata/} & uses two regexp\\
-\hline
-\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata}  & \texttt{!/prod/!/rect/!,/pdata/rdata/} & use \texttt{!} as separator\\
-\hline
-\texttt{C:/WINNT} & \texttt{d:/WINNT}  & \texttt{/c:/d:/i} & case insensitive pattern match \\
-\hline
-
-\end{tabular}
-
+\begin{small}
+\LTXtable{\linewidth}{table_regexp}
+\end{small}
 %\subsubsection{Using group}
 %
 %Like with Perl or Sed, you can make submatch with \texttt{()}, 
@@ -1127,23 +1113,21 @@ problems that can come up making restoring more difficult. We will try to
 provide a few ideas how to get out of these problem situations.
 In addition to what is presented here, there is more specific information
 on restoring a \ilink{Client}{restore_client} and your
-\ilink{Server}{restore_server} in the \ilink{Disaster Recovery Using
-Bacula}{RescueChapter} chapter of this manual.
+\ilink{Server}{restore_server} in the \ilink{Disaster Recovery Using Bacula}{RescueChapter} chapter of this manual.
 
 \begin{description}
 \item[Problem]
    My database is broken.
 \item[Solution]
-   For SQLite, use the vacuum command to try to fix the database. For either
-   MySQL or PostgreSQL, see the vendor's documentation. They have specific tools
-   that check and repair databases, see the \ilink{database
-   repair}{DatabaseRepair} sections of this manual for links to vendor    
-   information.
+   For either MySQL or PostgreSQL, see the vendor's documentation.  They
+   have specific tools that check and repair databases, see the
+   \ilink{database repair}{DatabaseRepair} sections of this manual for
+   links to vendor information.
 
    Assuming the above does not resolve the problem, you will need to restore
    or rebuild your catalog.  Note, if it is a matter of some
    inconsistencies in the Bacula tables rather than a broken database, then
-   running \ilink{dbcheck}{dbcheck} might help, but you will need to ensure
+   running the \borgxrlink{dbcheck}{dbcheck}{utility}{command}\footnote{\utilityman{}} might help, but you will need to ensure
    that your database indexes are properly setup.  Please see
    the \ilink{Database Performance Issues}{DatabasePerformance} sections
    of this manual for more details.
@@ -1195,7 +1179,7 @@ OK to run? (yes/mod/no):
 
    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}{CatMaintenanceChapter} chapter of
+   See the \ilink{Catalog Maintenance}{CatMaintenanceChapter} 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).
@@ -1287,7 +1271,7 @@ FileIndex=1-1
    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}{CatMaintenanceChapter} chapter of
+   See the \ilink{Catalog Maintenance}{CatMaintenanceChapter} 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).
@@ -1298,10 +1282,10 @@ FileIndex=1-1
 
 \item [Solution without a Job Listing]
    If you do not have a job listing, then it is a bit more difficult.
-   Either you use the \ilink{bscan}{bscan} program to scan the contents
+   Either you use the \borgxrlink{bscan}{bscan}{utility}{program} to scan the contents
    of your tape into a database, which can be very time consuming 
-   depending on the size of the tape, or you can use the \ilink{bls}{bls}
-   program to list everything on the tape, and reconstruct a bootstrap 
+   depending on the size of the tape, or you can use the \borgxrlink{bls}{bls}{utility}{program}
+   to list everything on the tape, and reconstruct a bootstrap 
    file from the bls listing for the file or files you want following
    the instructions given above.
 
@@ -1473,7 +1457,7 @@ There are basically three steps to take:
 \end{enumerate}
 
 When the above is complete, you can begin bscanning your Volumes. Please
-see the \ilink{bscan}{bscan} section of the Volume Utility Tools of this
-chapter for more details.
+see the \borgxrlink{bscan}{bscan}{utility}{section} of the \utilityman{}.
+
 
 \end{description}