Solved

Create Backup (.bks -NTBackup (2003 Server)) File with Batch or VBScript

Posted on 2013-02-06
1
718 Views
Last Modified: 2013-05-23
I have requirement to backup with NTBackup (2003 Server) a selection of 930 Home Directories from a total of 2800 Home Directories.

The prospect of manually selecting 930 folders from the NTBackup interface is daunting in itself but is extremly prone to human error.

I have carrid out initial research (Google) but I am unable to find a complete solution to manually (By Batch or Vscript) create a backup file where I can include the unc paths of the Home Directories that I require to backup.

I am thinking of a batch file in the format below ?

ntbackup backup \\server1\Home$\user1 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore$\HomeFolders.bks"
ntbackup backup \\server1\Home$\user2 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore$\HomeFolders.bks" /a
ntbackup backup \\server1\Home$\user3 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore$\HomeFolders.bks" /a
.
.
.
ntbackup backup \\server1\Home$\user930 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore$\HomeFolders.bks" /a

Help and guidance in this matter is sincerly appreciated.

Thanks

Ukpowo
0
Comment
Question by:ukpowo
1 Comment
 
LVL 26

Accepted Solution

by:
MidnightOne earned 500 total points
Comment Utility
Is there a reason why you're just just backing up \\server1\Home$\ which will select all the folders within my default?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When you are trying to access the server, have you ever encountered "The terminal server has exceeded the maximum number of allowed connection" error?  or "The user is attempting to log on to a Terminal Server in Remote Administration mode, but the …
Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now