tklbam-restore

Restore a backup

Author: Liraz Siri <liraz@turnkeylinux.org>
Date: 2013-09-05
Manual section:8
Manual group:backup

SYNOPSIS

tklbam-restore [ -options ] [ <hub-backup> ]

ARGUMENTS

<hub-backup> := backup-id || unique label pattern || path/to/backup/extract

OPTIONS

General options

--raw-download=path/to/backup/ Download backup to directory without doing a system restore

System restore options

--simulate Do a dry run simulation of the system restore
--limits=LIMITS
 
Restore filesystem or database limitations. You can use this

to control what parts of the backup will be restored.

Preceding a limit with a minus sign turns it into an exclusion.

LIMITS := "LIMIT-1 .. LIMIT-N"

LIMIT := -?( /path/to/include/or/exclude |
mysql:database[/table] | pgsql:database[/table] )
--skip-files Don't restore filesystem
--skip-database
 Don't restore databases
--skip-packages
 Don't restore new packages
--logfile=PATH Path to log file. Default: /var/log/tklbam-restore
--no-rollback Disable rollback
--silent Disable feedback
--force Disable sanity checking
--debug Run $SHELL after Duplicity

Configurable options

--restore-cache-size=SIZE
 The maximum size of the download cache default: 50%
--restore-cache-dir=PATH
 The path to the download cache directory default: /var/cache/tklbam/restore

Resolution order for configurable options:

  1. comand line (highest precedence)

  2. configuration file (/etc/tklbam/conf):

    # comment
    <option-name> <value>
    
  3. built-in default (lowest precedence)

FILES

Configuration files:
 /etc/tklbam/conf, /etc/tklbam/hooks.d
Restore cache:/var/cache/tklbam/restore

SEE ALSO

tklbam (8), tklbam-faq (7), tklbam-hooks (5)