SPSFAQ
SharePoint Server Frequently Asked Questions
affiliate links


Buy a sponsored link

You could have a link to your website on every page of SPSFAQ.


Backup and Antivirus for SharePoint

SPSFAQ050110 - Backup: CommVault Galaxy iDataAgent for SharePoint Portal Server - 0 Comments - stephencummins - Sun, May 19th, 2002 - Backup/Antivirus
SPSFAQ050109 - Backup: Veritas Agent for Microsoft SharePoint Portal Server - 0 Comments - stephencummins - Sun, May 19th, 2002 - Backup/Antivirus
SPSFAQ050108 - Antivirus: Trend Micro PortalProtect - 0 Comments - stephencummins - Sun, May 19th, 2002 - Backup/Antivirus
SPSFAQ050107 - Antivirus: BitDefender for MS SharePoint v 1.1 - 0 Comments - stephencummins - Sun, May 19th, 2002 - Backup/Antivirus
SPSFAQ050106 - Antivirus: Antigen for 6.5 SharePoint Beta 1 - 0 Comments - stephencummins - Sun, May 19th, 2002 - Backup/Antivirus
SPSFAQ050105 - Can I do a backup/restore of just one workspace? - 0 Comments - stephencummins - Mon, Jan 21st, 2002 - Backup/Antivirus
To date I don't know of any way to do this, there's a big demand for this, so it might not be long!
SPSFAQ050104 - Can I schedule a backup that overwrites the previous one? - 0 Comments - stephencummins - Fri, Jan 4th, 2002 - Backup/Antivirus
SPSFAQ050103 - How can I schedule regular Backups of SharePoint? - 0 Comments - stephencummins - Tue, Dec 18th, 2001 - Backup/Antivirus
option explicit
' path name
' do NOT use blanks in backup path name !
const cBackupPath = "D:\SPS_Backup\"

' back up file extension
' you can choose every extension you like
const cBackupExtension = ".bak"

' full path to MSDMBack
const cUtilPathAndName = "D:\Program Files\SharePoint
Portal Server\Bin\MSDMBack.vbs"

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

'needed to run the script in a shell
dim wShell

'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)

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

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

' open a shell and run the script with cscript
wShell.run "cscript """ & cUtilPathAndName & """ /b " &
cBackupPath & mFile

Thomas/HTH

Page 3 of 4  -  Jump to: 1 2 3 4

Search options
Search for
   
In fields
   
In category
   
Dated in
   

links
subscribe
Get the latest posts via email:

quick search
Search via Google:

random books


Copyright © SPSFAQ.com, Stephen Cummins Limited, All Rights Reserved