Backup to tape: drives, folders and systemstate.
In Vista and above wbadmin and PowerShell have replaced NTBACKUP.

To recover backups on Windows Server 2008/Vista that were created using ntbackup a 'restore-only' version of NTBACKUP is available as a download.


    NTBACKUP backup [systemstate] "@bks file name"
                /J {"job name"} [options] [/SNAP:{on|off}] [/um]


  Back up the System State data. 
  This will also force the backup type to normal or copy.

@bks file name
  The name of the backup selection file (.bks file).
  In WinXP the at (@) character must precede this name.
  A backup selection file contains information on the files and folders 
  to be backed up. 
  You have to create the file using the GUI version of NT Backup.

/J {"job name"}
  The job name to be used in the log file 
  Describe the files and folders and the backup date-time.

/P {"pool name"}
  The media pool from which you want to use media. 
  Usually a subpool of the Backup media pool, such as 4mm DDS.
  If you select this you cannot use /A, /G, /F, or /T

/G {"guid name"}
  Overwrite or append to this tape. 
  Don’t use with a media Pool (/P).

/T {"tape name"}
  Overwrite or append to this tape.
  don’t use with a media Pool (/P).

  Perform an append operation. 
  Either "guid name" (/G) or "tape name" (/T) must be specified with this switch. 
  don’t use with a media Pool (/P).

/N {"media name"}
  The new tape name. don’t use with Append (/A).

/F {"file name"}
  Backup to a file - logical disk path and file name.
  Do not use with the switches: /P /G /T.

/D {"set description"}
  Label for each backup set

/DS {"server name"}
  Back up the directory service file for MS Exchange 5.5 server. 
  This is not needed/does not work with Exchange 2000 since Exchange 2000
  uses Active Directory.

/IS {"server name"}
  Back up the Information Store file for an MS Exchange 5.5 Server.

  Verify the data after the backup is complete.

  Restrict access to this tape to the Owner/AdministratorS

  The type of log file: f=full, s=summary, n=none

/M {backup type}
  The backup type. One of: normal, copy, differential, incremental, or daily

  Backs up the migrated data files located in Remote Storage. 
  The /RS command-line option is not required to back up the local Removable 
  Storage database (that contains the Remote Storage placeholder files). 
  When you backup the %systemroot% folder, Backup automatically backs up the 
  Removable Storage database as well.

  Use hardware compression, if available, on the tape drive.

  Copy open/locked files, requires XP or 2003,
  creates a temporary snapshot for the volume shadow copy.

/um  (Windows 2000 only)
  Find the first available media, format it, and use for the current backup.
  Use with the /p switch to scan for available media pools. 
  This command is only for standalone tape devices (not tape loaders.)
  The /UM switch must be at the end of the command line.

NTBackup has a reputation for being clumsy and unreliable, Microsoft Data Protection Manager is a more robust solution for Windows backup and recovery. Third party and cross platform tools are also available.

NTBackup is not available in Windows Vista/Windows 7 but utilities to restore old backup files are available (links below)

Mick Jagger sang backup vocals for "You're so Vain" by Carly Simon

Related commands

WBADMIN - Windows Backup Admin.
Microsoft utility to restore NT Backups for Windows Vista/Server 2008.
Wbadmin - back up and restore the OS, volumes, files, folders, and applications.
Windows Server PowerShell Backup Cmdlets
BackupAssist - 3rd party backup software for small and medium businesses.
Equivalent bash command (Linux): fwbackups or rsync - Synchronize file trees.

Copyright © 1999-2024 SS64.com
Some rights reserved