Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Unattended sharepoint backup

  Asked By: Ricardo Mcdonald         Date: Apr 15, 2010      Category: Sharepoint      Views: 219
 

I've tried the msdmback script to backup sharepoint, and it certainly
works ok. However it comes up with an OK box as it starts, requiring
an operator to confirm the run. So does anyone know how I can run the
script in unattended mode such that an opoerator doesn't have to be
there when it runs to ok it?

Tagged:      

 

1 Answer Found

 
Answer #1       Answered By: Nisarg Shahane          Answered On: Apr 15, 2010       

Paste the following code (after modifications) into a sps_backup.bat file
and schedule it with Windows Sceduling Services:

d:
cd d:\sharep~1\backup
del sps.bak

c:
cd c:\progra~1\sharep~1\bin
cscript.exe //logo msdmback.vbs /b d:\sharep~1\backup\sps.bak

Use the following to restore:

c:
cd c:\progra~1\sharep~1\bin
cscript.exe //logo msdmback.vbs /r d:\sharep~1\backup\sps.bak

 
Didn't find what you were looking for? Find more on Unattended sharepoint backup Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].