Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Schedule a Backup at 11.00 PM

Status
Not open for further replies.

AGA

IS-IT--Management
May 10, 2001
362
AU
IS it possible to schedule a backup at 11.00 PM at night using NT BAckup which comes with the server. Or any Web Site where I can get help.

Thanks .
 
what problems are you having getting the backup to run.

If you follow the instructions in that article it should work
 
Create 3 text batch files.
1.for shutting down services
BkupPrep.cmd
<snip>
Net stop &quot;microsoft exchange event service&quot;
Net stop &quot;microsoft exchange internet mail service&quot;
Net stop &quot;microsoft exchange message transfer agent&quot;
</snip>

2.for backing up files
Bkup.cmd
<snip>
ntbackup backup c:\ /b /hc:eek:n /t normal /l &quot;special.log&quot; /e
ntbackup backup k:\exchsrvr\ /a /hc:eek:n /t normal /l &quot;special.log&quot; /e
ntbackup backup f:\ /a /hc:eek:n /t normal /l &quot;special.log&quot; /e
</snip>

3.restarting services
bkupdone.cmd
<snip>
Net start &quot;microsoft exchange event service&quot;
Net start &quot;microsoft exchange internet mail service&quot;
Net start &quot;microsoft exchange message transfer agent&quot;
</snip>

Then use the Scheduled Tasks by double Clicking on my computer. Run the batch files at the appropriate times.

Document your process.
<NT help file>
Using Batch Files to Do Backups
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.

Syntax:

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

Parameters:

operation

Specifies the operation, backup or eject.

Each of the following parameters (except /tape) must be used only with the backup operation parameter.

path

Specifies one or more paths of the directories to be backed up.

/a

Causes backup sets to be added or appended after the last backup set on the tape. When /a is not specified, the program overwrites 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 &quot;text&quot;

Specifies a description of the backup contents.

/b

Specifies that the local registry be backed up.

/hc:eek:n or /hc:eek:ff

Specifies that hardware compression is on or off.

/t {option}

Specifies the backup type. Option can be one of the following:

normal copy
incremental differential
daily
/l &quot;filename&quot;

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 number the drive was assigned when the tape drive was installed.
 
Nice set of instructions from CBJFan. You can also use AT command to schedule your backup.
 
/nopoll does not erase tape.
It opens ntbackup but it does not do anything else.

Anyone know why ?
 
Hi there

i'm trying to schedule my ntbackup jobs but need to back up the information store on an exchange server - does anyone know the batch entry for this?

thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top