beam−restore − restore file system from a backup.
[−−confirm] [−C DIR]
[−−dry−run] [−−list] [−−logfile FILE] [−L N] [−−level N]
[−R N] [−−round N] [−−week N]
beam restore [−h] [−−help]
beam restore [−V] [−−version]
The beam-restore command restores the file system from incremental backups created using beambackup(1).
The program reads its configuration from the file beam.conf located in the /usr/local/etc directory, or from the file named in the environment variable BACKUP_CONFIG. The configuration file must exist.
After loading the configuration file, the program examines its command line for options that modify its behavior. These are described in detail in the section OPTIONS, below.
Once the configuration loaded, the beam−restore command determines which backup archives to use for restoring. Unless being requested otherwise by the command line options, the utility selects the most recent set of backup files.
Before starting the restore, the command displays the backup files it has selected and asks the user if he wishes to proceed. Empty line (the CR alone) or any word beginning with Y (case-insensitive) is taken as affirmative. Otherwise, a negative answer is assumed and program terminates.
The program restores file systems and other backup items in the order they are listed in the backup_items configuration variable. The ITEM arguments override this default. If they are present, the program will restore only those items that are listed in the command line and exactly in the order they appear.
Do not ask for confirmation; run straight into restoring.
−C, −−directory DIR
Restore into directory DIR instead of /.
Do nothing, but print what would have been done.
List archive files, instead of extracting from them.
−l, −−logfile FILE
Log to FILE instead of the standard error. This option implies −−confirm. Note also, that due to its specific nature restore ignores the backup_logfile configuration setting.
−L, −−level N
Set incremental dump level to stop at.
−R, −−round N
Use archives from incremental round N.
−W, −−week N
Use archives from week N.
Display a short help summary.
Display program version.
Default configuration file.
Backup module directory. Whenever a backup item of type T is requested, restore will attempt to load from this directory a file named T.sh. This file provides methods and definitions necessary to handle that particular item type.
Report bugs to <email@example.com>.
Manpage server at Ulysses.gnu.org.ua.
Powered by mansrv 1.0