Ossie Akaunu
asked on
Create Backup (.bks -NTBackup (2003 Server)) File with Batch or VBScript
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 $\HomeFold ers.bks"
ntbackup backup \\server1\Home$\user2 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore $\HomeFold ers.bks" /a
ntbackup backup \\server1\Home$\user3 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore $\HomeFold ers.bks" /a
.
.
.
ntbackup backup \\server1\Home$\user930 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore $\HomeFold ers.bks" /a
Help and guidance in this matter is sincerly appreciated.
Thanks
Ukpowo
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
ntbackup backup \\server1\Home$\user2 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore
ntbackup backup \\server1\Home$\user3 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore
.
.
.
ntbackup backup \\server1\Home$\user930 /j "RedundantHomeFolders" /f "\\BackupServer1\DataStore
Help and guidance in this matter is sincerly appreciated.
Thanks
Ukpowo
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.