Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - VBS running ntbackup..

Reply
 
Old 01-27-2009   #1 (permalink)
Jake


 
 

VBS running ntbackup..

Hi,

I have been searching the net for a script running ntbackup full backup
once a week and differential copy for each consecutive weekday.

It cooks down to the following requirement:

Create a number of subfolders named after weekdays under a given folder.
Determine the current day-of-week
if Sunday then
goto folder Sunday
delete any *.bak.bkf file
rename the existing .bkf file to .bak.bkf
run ntbackup normal (full) backup
else (any other weekday)
goto folder %weekday%
delete any *.bak.bkf file
rename the existing .bkf file to .bak.bkf
run ntbackup differential backup
finally email the logfile created by the above ntbackup processes

If anyone here have seen a script which can serve as a point of
departure or otherwise has tips on how to achieve the above
functionality, please post here

thanks a lot in advance

jake

My System SpecsSystem Spec
Old 01-27-2009   #2 (permalink)
Pegasus \(MVP\)


 
 

Re: VBS running ntbackup..


"Jake" <jake44@xxxxxx> wrote in message
news:OC1aa7IgJHA.5956@xxxxxx
Quote:

> Hi,
>
> I have been searching the net for a script running ntbackup full backup
> once a week and differential copy for each consecutive weekday.
>
> It cooks down to the following requirement:
>
> Create a number of subfolders named after weekdays under a given folder.
> Determine the current day-of-week
> if Sunday then
> goto folder Sunday
> delete any *.bak.bkf file
> rename the existing .bkf file to .bak.bkf
> run ntbackup normal (full) backup
> else (any other weekday)
> goto folder %weekday%
> delete any *.bak.bkf file
> rename the existing .bkf file to .bak.bkf
> run ntbackup differential backup
> finally email the logfile created by the above ntbackup processes
>
> If anyone here have seen a script which can serve as a point of departure
> or otherwise has tips on how to achieve the above functionality, please
> post here
>
> thanks a lot in advance
>
> jake
All ob the above functions can easily be implemented with a batch file or
with a VB Script file. Do you have any specific questions, or do you have a
script/batch file that could be used as a starting point?


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Ntbackup failure .NET General
Vista and ntbackup Vista General
NTBackup.exe (from Windows XP) Vista General
ntbackup Vista General
ntbackup is missing Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46