Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-02-06
1
Medium Priority
?
742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 26

Accepted Solution

by:
MidnightOne earned 1500 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

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…
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

704 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