Jump to content

Recommended Posts

Posted

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)

 

Thanks

Squeeky

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...