NTBACKUp command line syntax to back up the system state

I have a 2003 Domain controller and I want to set up a sheduled task to use NTBACK to run a system state backup so that I can backup the AD database NTDS.DIT , what is the syntax to do this ?
LVL 1
NAMEWITHELD12Asked:
Who is Participating?
 
gtworekConnect With a Mentor Commented:
ntbackup backup systemstate
Look at http://support.microsoft.com/kb/814583 for more details.
0
 
mburazorConnect With a Mentor Commented:
ntbackup syntax:

ntbackup backup [systemstate] "@bks file name" /J {"job name"} [/P {"pool name"}] [/G {"guid name"}] [/T { "tape name"}] [/N {"media name"}] [/F {"file name"}] [/D {"set description"}] [/DS {"server name"}] [/IS {"server name"}] [/A] [/V:{yes|no}] [/R:{yes|no}] [/L:{f|s|n}] [/M {backup type}] [/RS:{yes|no}] [/HC:{on|off}] [/SNAP:{on|off}]


systemstate : Specifies that you want to back up the System State data. When you select this option, the backup type will be forced to normal or copy

@bks file name : Specifies the name of the backup selection file (.bks file) to be used for this backup operation. The at (@) character must precede the name of the backup selection file. A backup selection file contains information on the files and folders you have selected for backup. You have to create the file using the graphical user interface (GUI) version of Backup.

/J {"job name"} : Specifies the job name to be used in the log file The job name usually describes the files and folders you are backing up in the current backup job as well as the date and time you backed up the files.

/P {"pool name"} : Specifies the media pool from which you want to use media. This is usually a subpool of the Backup media pool, such as 4mm DDS. If you select this you cannot use the /A, /G, /F, or /T command-line options.

/G {"guid name"} : Overwrites or appends to this tape. Do not use this switch in conjunction with /P.

/T {"tape name"} : Overwrites or appends to this tape. Do not use this switch in conjunction with /P.

/N {"media name"} : Specifies the new tape name. You must not use /A with this switch.

/F {"file name"} : Logical disk path and file name. You must not use the following switches with this switch: /P /G /T.

/D {"set description"} : Specifies a label for each backup set

/DS {"server name"} : Backs up the directory service file for the specified Microsoft Exchange Server.

/IS {"server name"} : Backs up the Information Store file for the specified Microsoft Exchange Server.

/A : Performs an append operation. Either /G or /T must be used in conjunction with this switch. Do not use this switch in conjunction with /P.

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

/R:{yes|no} : Restricts access to this tape to the owner or members of the Administrators group

/L:{f|s|n} : Specifies the type of log file: f=full, s=summary, n=none (no log file is created).

/M {backup type} : Specifies the backup type. It must be one of the following: 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} : Uses hardware compression, if available, on the tape drive.

/SNAP:{on|off} : Specifies whether or not the backup is a volume shadow copy

/M {backup type} : Specifies the backup type. It must be one of the following: normal, copy, differential, incremental, or daily

/?: Displays help at the command prompt.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.