Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Automatic Backup

  Asked By: Jenny    Date: Mar 20    Category: Sharepoint    Views: 6572

Does anyone have a clue how to do an automatic backup of SPS by using the
msdmback. Backing up the Server worked out just fine but I dont want to do
it manually every night. Somebody posted a link to a script but the link was
broken or expired.

Is there a way to do an incremental update??? I guess the msdmback does a
full backup, am I right?

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Radhika Vora     Answered On: Mar 20

Put all your manually  entered commands into a batch/cmd file and run it as a
'Scheduled Task'.

 
Answer #2    Answered By: Harshit Nerurkar     Answered On: Mar 20

Here is my script  that I use for automated (scheduled) backup.

<SNIP>
option explicit

backup  path (with trailing "/")
const cBackupPath = "D:\your\backup\path\"

' Extension for backup file
const cBackupExtension = ".bak"

' full path to MSDMBack
const cUtilPathAndName = "D:\your\path\to\MSDMBack.vbs"


dim mYear
dim mMonth
dim mDay
dim mHour
dim mMinute
dim mFile

'needed to run the script in a shell
dim wsh

'Determine date and time
mYear = year(now)
mMonth = right("00" & month(now), 2)
mDay = right("00" & day(now), 2)
mHour = right("00" & hour(now), 2)
mMinute = right("00" & minute(now), 2)

'Assemble backup file name
mFile = mYear
mFile = mFile & "-" & mMonth
mFile = mFile & "-" & mDay
mFile = mFile & "_" & mHour
mFile = mFile & "-" & mMinute
mFile = mFile & cBackupExtension

set wsh = wscript.CreateObject("wscript.shell")

' Open a shell and run the script with cscript
wsh.run "cscript """ & cUtilPathAndName & """ /b " & cBackupPath & _
mFile

</SNIP>


> Is there a way to do an incremental  update??? I guess the msdmback  does a
> full backup, am I right???

No, this is not possible.
You can only do full backups of the whole SPS, including all
workspaces.

 
Answer #3    Answered By: Yvette Lyons     Answered On: Mar 20

Veritas offer a new Sharepoint agent for backup  Exec that will allow backup
of Sharepoint workspace. Not sure if it does it incrementally or not but I
will guess it will be a better solution than msdmbackup

 
Answer #4    Answered By: Cecelia Gilliam     Answered On: Mar 20

I heard that the agent should work similar to the MSDMBack utility.
But I never tested it by myself.

 
Answer #5    Answered By: Pramod Jituri     Answered On: Mar 20

The Agent is available as 60-day trial. Will try it. Will also try the
script although I am not much of a "techie".

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




Tagged: