TheTAZZone - Internet Chaos

use VBScript to control NTBackup

ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM HERE

Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to use, retain, and publish submitted work within it’s Network

Please refer to the original post as not all the script may be visible here.

Speaking of backups, how many of you backup your workstations at home regularly? Most of us probably should, but the scheduler provided for NTBackup doesn’t work very well, and who can afford a high-end solution like Backup Exec? Microsoft has added a regular backup feature to OneCare Live, but it’s limited as to where you can target the backups. Fortunately, you can use VBScript to control NTBackup (and even add logging), and then use the Task Scheduler to run the script on a schedule.
Here’s the script with comments that should explain most everything. If you have any other questions, PM me or start a new thread in the Scripting forum.

Code: Select all
Option Explicit

Dim objFSO
Dim objShell
Dim strOutlook
Dim bksFile
Dim bkfFile
Dim strBackup
Dim strLogFile
Dim oldLogFile
Dim objWrite
Dim objFile
Dim strMonth
'###################################################################
Set objFSO = CreateObject("Scripting.FileSystemObject")

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertise

If you'd like to advertise on The Mutt ( aka TheTAZZone.com ) feel free to contact us at: administration[at]thetazzone.com

TheTAZZone is a non-commercial entity. We do not sell any products or services ourselves. Our revenue comes from advertising and donations only.

We appreciate your support! Your advertising revenue ( or donations ) helps us to continue to upgrade, improve, and offset the costs of maintaining this site.

Donations can be made through the page ' Donate '.