Computing.Net > Forums > Windows 2000 > About writing batch file for NTbackup

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

About writing batch file for NTbackup

Reply to Message Icon

Name: Simon
Date: July 22, 2002 at 02:54:49 Pacific
Comment:

Hi everyone :

I am a novice to this item. I came across an article mentioning that " Use the NTBackup GUI to create and schedule the backup operations with the options you require".

What is the NTbackup GUI ?

Is it that when I have created the operation, a batch file is also created ?

Many thanks in advance.




Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: July 22, 2002 at 05:30:40 Pacific
Reply:

The ntbackup gui is just that....a graphical user interface for the backup software in NT/2000/XP. You can find it in Start Menu >> Programs >> Accessories >> System Tools >> Backup Also, you can open the Run menu and type "ntbackup" to start it.


0

Response Number 2
Name: seun
Date: July 22, 2002 at 06:20:42 Pacific
Reply:

hi
the NT back up GUI is gust a back up schedule that ordinary user's can follow instruction and understand simply. that is why it is called GUI(Graphical User Interface).
just go to start--program-accesories-then back up.
this wizard will help you to back up & restore ur document registry anything u want, you can also schedule a back up.


0

Response Number 3
Name: topher
Date: August 23, 2002 at 10:37:29 Pacific
Reply:

here's what i use:

1)
REM batch file that runs local backup - fullback_d.bat
REM backs up Project Server's D: drive
REM FULL BACKUP
ntbackup backup d:\projects /t Normal /d "Projects" /HC:ON /l "d:\logs\fullback_d.log" /tape:0
REM

------------
2)
REM batch file that runs local backup - incback.bat
REM backs up Project Server's D: drive
REM INCREMENTAL BACKUP
ntbackup backup d: e: /a /t Incremental /d "incback" /HC:ON /l "d:\logs\incback.log" /tape:0

------------
3)
REM batch file that runs remote backup - fullback_m.bat
REM backs up Marketing's D: drive
REM Unmap Drive, if exists
if exist m: net use m: /delete
net use m: \\ci21st\projects adminpassword /USER:christnerinc\backupadmin /persistent:no
ntbackup backup m:\ /t Normal /d "Marketing" /HC:ON /l "d:\logs\fullback_m.log" /tape:0
REM Unmap Drive
net use m: /delete

------------
4)
("at" commands that fire backups)

REM INC Backups
at 23:00 /every:T,W,F,S,SU c:\batch\incback.bat
REM Full Backup - Projects (monday night)
at 23:00 /every:M c:\batch\fullback_d.bat
REM Full Backup - Marketing (thursday night)
at 23:00 /every:TH c:\batch\fullback_d.bat
REM Listings for bi-hourly Incremental pulls
at 10:00 /every:M,T,W,TH,F,S,SU c:\batch\listvol.cmd
at 12:00 /every:M,T,W,TH,F,S,SU c:\batch\listvol.cmd
at 14:00 /every:M,T,W,TH,F,S,SU c:\batch\listvol.cmd
at 16:00 /every:M,T,W,TH,F,S,SU c:\batch\listvol.cmd
at 18:00 /every:M,T,W,TH,F,S,SU c:\batch\listvol.cmd

-------------
the bi-hourly file pulls are a bit to
long to explain here. the other explain
themselves - although a quick peek at
the "help" for ntbackup couldn't hurt.

g' luck!
-chrisv


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: About writing batch file for NTbackup

Batch Files for Login Script Not Working www.computing.net/answers/windows-2000/batch-files-for-login-script-not-working/32923.html

batch files www.computing.net/answers/windows-2000/batch-files/50790.html

Batch file for converting a jpg www.computing.net/answers/windows-2000/batch-file-for-converting-a-jpg-/64270.html