Name

ntbackup

Synopsis

ntbackup backup[systemstate] bksfile /J jobname [options]

Perform the backup operation specified in the backup selection file (bksfile), assigning the job the specified job name. The .BKS file must be created beforehand, using the command’s graphical interface.

If systemstate is included, system-related databases and files are also backed up (for example, registry, Active Directory databases, SYSVOL, and so on).

Note that restore operations can only be performed via the GUI version of this utility. For systemstate restores, see ntdsutil.

Options

Only one of the three following option sets may be selected:

/A /G guid| /T tapename

Append the backup set to the specified tape. (The default is to replace its current data.) Use either /G or /T to specify the destination (by GUID or tape name, respectively).

/P poolname /UM

Specify the media pool to use as the backup destination. The backup command finds the first available media of the specified type, then formats it and uses it for the backup operation.

/F filename

Specify the destination for a backup to a file.

The options specified in the .BKS file serve as defaults for the backup operation. The following command-line options can be used to override those settings:

/V:YES | NO

Verify/don’t verify the backup after writing it.

/HC:ON | OFF

Specify the hardware compression setting.

/N name

Specify the media name. Invalid with /A.

/D set-label

Specify the backup set label.

/M type

Select the backup type, which can be normal, copy, incremental, ...

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.