Solved

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

Posted on 2013-02-06
1
721 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
ID: 38862241
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
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 video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

948 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

19 Experts available now in Live!

Get 1:1 Help Now