Windows Commands: Backup drives / folders to tape


NTBACKUP-Windows Command

NTBACKUP

Backup drives / folders to tape.
This page is for Windows 2000 and XP - the syntax for Windows NT 4 is here>

Syntax Windows 2000:

    NTBACKUP backup [systemstate] "bks file name"  /J {"job name"} [options]
       [/um]

Syntax Windows XP:

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


options:

systemstate
  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).

/A
  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.

/V:{yes|no}
  Verify the data after the backup is complete.

/R:{yes|no}
  Restrict access to this tape to the Owner/AdministratorS

/L:{f|s|n}
  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

/RS:{yes|no}
  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.

/HC:{on|off}
  Use hardware compression, if available, on the tape drive.

/SNAP:{on|off}
  Is the backup is a volume shadow copy. Windows XP only.

/um
  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 option is documented for Windows 2000 only. 
  This command is only for standalone tape devices (not tape loaders.)
  The /UM switch must be at the end of the command line.

Bugs

Backups made using Windows Server 2003's NT Backup program can't be restored with any previous WinNT Backup Program - (expect a patch for this soon.)

Other Windows 98, Windows XP Commands:
addusers , arp , assoc , associate , at , attrib , browstat , cacls , call , cd , change , chkdsk , chkntfs , choice , cipher , cleanmgr , clip , cmd , color , comp , con2prt , copy , date , defrag , del , delprof , dir , diruse , diskcomp , diskcopy , doskey , dsadd , dsmod , echo , endlocal , exit , expand , expand , fc , fdisk , find , findstr , for , forfiles , format , fsutil , ftp , ftype , global , goto , help , hfnetchk , if , ifmember , ipconfig , kill , label , ldifde , local , logevent , logoff , logtime , mapisend , md , mem , mode , monitor , more , mountvol , move , moveuser , msg , msiexec , msinfo32 , mstsc , munge , mv , nbtstat , net , netdom , netsh , netstat , netsvc , now , nslookup , ntbackup , ntrights , path , pathping , pause , perms , ping , popd , portqry , print , prncnfg , prnmngr , prompt , pushd , qgrep , rasdial , rasphone , rd , rdisk , recover , reg , regedit , regsvr32 , rem , ren , replace , rmtshare , robocopy , route , runas , rundll32 , sc , schtasks , sclist , scriptit , set , setlocal , setx , share , shift , shortcut , showgrps , showmbrs , shutdown , sleep , soon , sort , start , su , subinacl , subst , tasklist , time , timeout , title , touch , tracert , type , ver , verify , vol , where , whoami , windiff , winmsd , winmsdp , wmic , xcacls , xcopy ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources