Windows Server 2008 Thread, Windows Backup in Technical; Hi, Ive writen a batch script that will mount a network drive and then backup to that server. Can anyone ...
6th December 2012, 12:02 PM #1
- Rep Power
Hi, Ive writen a batch script that will mount a network drive and then backup to that server. Can anyone tell me if im missing important switches ?
net use /D x:
net use \\IPADDRESSHERE\SHARENAME /USER:BACKUP PASSWORDHERE
wbadmin start backup -backupTarget:\\backup-pc\win2k8r2 -include:c:,d: -quiet
Because the server is not connected to the domain this script mounts with the correct credentials so that they are cached for the backup to run. Otherwise i get a user name and password error.
I have found two other switchs but have no idea what they do and documentation is pretty limited.
-allCritical -vssFull Any ideas ?
Just to be clear I want a full backup even if i overwrites the old one (I have another plan for this but want to make sure backups work correctly first)
IDG Tech News
By karldenton in forum Windows Server 2000/2003
Last Post: 5th March 2012, 02:02 PM
By ianh64 in forum Windows Server 2008 R2
Last Post: 28th July 2010, 01:23 PM
By plock in forum Windows
Last Post: 14th February 2008, 10:23 AM
By projector1 in forum MIS Systems
Last Post: 10th December 2007, 11:30 AM
Last Post: 7th November 2007, 12:53 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)