fortypoundhead.com

NTBACKUP

Primary Category = Tutorial

Posted On 2006-11-27 by FortyPoundHead
Keywords: Command Reference NTBACKUP
Tags: Tutorial Windows Commandline Exchange Windows
Views: 2006
Rating: / 5.00

  • 1
  • 2
  • 3
  • 4
  • 5

 

NTBACKUP

Note: Limit batch file command lines to 256 characters. Exceeding this limit can stop the process without warning or result in files not being backed up.

Syntax
ntbackup operation path [/a][/v][/r][/d"text"][/b][/hc:{on | off}] [/t{option}][/l"filename"][/e][/tape:{n}]

Parameters
Operation: Specifies the operation, backup.

Path
If you are backing up a drive, specifies one or more paths of the directories to be backed up.
If you are backing up Microsoft Exchange Server components, specifies the component and the server using the following format:

{DS server /IS server}

Server is the name of the server you are backing up preceded by two backslashes (for example, \\berkeley). DS indicates that you are backing up the directory, and IS indicates that you are backing up the information store.

/a   Causes backup sets to be added after the last backup set on the tape. When /a is not specified, the program reuses the tape and replaces previous data. When more than one drive is specified but /a is not, the program overwrites the contents of the tape with the information from the first drive selected and then appends the backup sets for the remaining drives.

/v   Verifies the operation.

/r   Restricts access.

/d "text"   Specifies a description of the backup contents.

/b   Specifies that the local registry be backed up.

/hc:on
or
/hc:off   Specifies that hardware compression is on or off.

/t {option}   Specifies the backup type. Option can be one of the following:
  Normal  All selected files or Exchange Server components are backed up and marked as such on the disk.
  Copy  All selected files or Exchange Server components are backed up, but they are not marked as such on the disk.
  Incremental  Among the selected files or Exchange Server components, only those that have been modified are backed up and marked as such on the disk.
  Differential  The selected files or Exchange Server components that have been modified are backed up, but they are not marked as such on the disk.
  Daily  Among the selected files, only those that have been modified that day are backed up, but they are not marked as such on the disk. This can be useful if you want to take work home and need a quick way to select the files that you worked on that day. This option is not available when backing up Exchange Server components.

/l "filename"   Specifies the filename for the backup log.

/e   Specifies that the backup log include exceptions only.

/tape:{n}   Specifies the tape drive to which the files should be backed up. n is a number from 0 to 9 that corresponds to the tape drive number listed in the registry.

About the Author

FortyPoundHead has posted a total of 1975 articles.

You can find more information from FortyPoundHead by visiting .

Comments On This Post

No comments on this post yet!

 

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.161.208.7

Before you can post, you need to prove you are human. If you log in, this test goes away.