Previous page

Next page

Locate page in Contents

Print this page

prestore

The prestore utility is also run on the backup server. It uses the Container backups stored on the backup server to restore them to their original servers (or to any other location if the –d option is specified).

Syntax

prestore [ restoration_options ] server [...] [ CT_options ]

You can specify multiple servers (by names or IP addresses) whose Containers were at one time backed up and now need to be restored.

Restoration Options

Name

Description

-c <config>

Use an alternative backup configuration file.

-d <node>

The destination server to restore the Containers to. If no destination server is specified, the Containers are restored to the server from which they were originally backed up.

-t <tag>

Specify the tag of any intermediary incremental backup to be restored.

-r <tag>

Remove the backup tagged by the <tag> value. This option is valid only if a single Container is specified and if the <tag> value specifies the last incremental backup.

--rm-prev <tag>

Remove the backup tagged by the <tag> value together with all the previous backups. This option is valid only if a single Container is specified and if the <tag> value specifies the last incremental backup.

-l

Do not restore any Containers. Show the information on the Containers available to be restored.

-f

Show the full information on the backed up Containers (only if the -l option is specified).

--chain

Show a tag chain (only if the –l option is specified).

--desc <config>

Display the configuration file inside the archive with the specified tag (only if the -l and -t options are specified).

--single-tar

Indicates that a single tar is coming ( stdin ).

--skip-check-vzcache

Do not restore the backups of the Container cached files stored in the /var/parallels/backups/ CT_ID /vzcache directory on the backup server. For example, you should use this option while restoring a Container with cached files to a destination server other than the backup server.

--vzcache

Restore the vzcache template area keeping the Container cached files and located in the /vz/template/vzcaches directory on the server.

The Container options define a list of Containers to be restored:

Name

Description

-e <CT_ID|CT_name> [...]

The Containers to be restored on the server. Any Container can be specified using both its IDs (e.g., 101 or 102 ) and its names (e.g., comp1 or comp2 ).

-x <CT_ID|CT_name> [...]

The Containers that need not be restored (Containers to exclude). Any Container can be specified using both its IDs (e.g., 101 or 102 ) and its names (e.g., comp1 or comp2 ).

It is sufficient to specify only one Container option: either –e , or –x ; or to do without any Container options if all the Containers from the specified servers are to be restored.