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)