Software >> OS >> Windows >> NT >> How to perform NT backup from command line (legacy information)


The information below is for Windows NT 4.0, for Windows version from Vista onwards, refer to WBADMIN


Backup operations can also be performed at the command prompt using
ntbackup. Most of the command parameters do not require user input
and can therefore be implemented in batch files. However, a few of
the parameters require user input.  The following parameters
require user input:

Syntax:

ntbackup [/nopoll] [/missingtape]
/nopoll

Specifies that the tape should be erased. Do not use /nopoll
with any other parameters.

/missingtape

Specifies that a tape is missing from the backup set when the
set spans several tapes. Each tape becomes a single unit as
opposed to being part of the set.

You can create a batch file to back up one or more drives
regularly. However, using batch files enables you to back
up directories only (not individual files). Wildcard
characters cannot be used in the batch files.