Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Unattended sharepoint backup

  Asked By: Ricardo    Date: Apr 15    Category: Sharepoint    Views: 782

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?

Share: 

 

1 Answer Found

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

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.




Tagged: