Command Syntax: arcvpkgrestore

Introduction

This page describes the command line syntax of the arcvpkgrestore.py program.

Purpose

The arcvpkgrestore.py program
is a last-resort utility to restore data that is contained in a package
file.

You might want to use this in the event that you have a package file
which is not in your version database (perhaps it is from an earlier
backup cycle). If this is the case the preferred approach is to build a
small temporary version database using the arcvdbrebuild.py
command and then use either the arcvrestore.py or arcvrestoregui.py
commands to extract the files you need. However, if you just want to
quickly extract a copy of all the files in the package without worrying
about the directory tree, then this command can be used.

One other limitation is that this command cannot restore a file that
spans two package files. If this is the case you need to use the longer
route of building a temporary version database as explained above.

Syntax

The arcvpkgrestore.py program does not get any
configuration information
from the config.ini file.

The full command syntax is:

arcvpkgrestore [-h] [-d dirname]
[-f filename] -p package

where items in the square brackets are optional.

The only required parameter is the -p
package
which is the name of a single package file, the contents of which will
be extracted to the current directory (unless the -d parameter is used).

Options

The -h parameter will bring up
a short syntax help prompt and then stop.

The -d parameter specifies the
name of a directory that the contents of the package will be extracted
to.

The -f parameter specifies the
name of a single file within the package that is to be extracted. The
name needs to be the full path name of the file (use the arcvpkglist.py command to see
these full names).