![]() |
SPSFAQ SharePoint Server Frequently Asked Questions |
|
Backup and Antivirus
for SharePoint
SPSFAQ050325 - What is the best Antivirus tool for SharePoint 2007? - 0 Comments - stephencummins - Fri, Jun 15th, 2007 - Backup/Antivirus Forefront ofr SharePoint is the current concensus as being the best solution for this.
http://www.microsoft.com/technet/prodtechnol/eval/fssp/default.mspx SPSFAQ050224 - Can I do Document Level Recovery in SharePoint? - 0 Comments - stephencummins - Thu, Feb 9th, 2006 - Backup/Antivirus Here are some great options from Mart Muller`s weblog. I especially like the Smigrate tip of changing the backup to a cab file and using the manifest file to find individual documents.
http://blogs.tamtam.nl/mart/SharepointDocumentLevelRestore.aspx SPSFAQ050223 - Get Antivirus on your SharePoint server! - 0 Comments - stephencummins - Thu, Feb 9th, 2006 - Backup/Antivirus Go to http://www.sybari.com/wss to get this free untill June 2006. Thanks to Mark Harrison for this tip! SPSFAQ050222 - Script that finds all your site collections and makes a seperate backup of each. - 0 Comments - stephencummins - Mon, Jan 9th, 2006 - Backup/Antivirus http://groups.google.com/group/microsoft.public.sharepoint.windowsservices/browse_thread/thread/5d239beaa0bce6d/50a1091bdbf2e6d1?lnk=st&q=stsadm+backup+site+collection&rnum=3&hl=en#50a1091bdbf2e6d1
Scroll down to the following post Jay Apr 29 2004, 1:29 pm SPSFAQ050221 - How can I create SPS backups with a date included? - 0 Comments - stephencummins - Mon, Mar 21st, 2005 - Backup/Antivirus I just use this script that creates a timestamped folder. You can remove the hours, minutes and seconds if you don't need them:
This is what it does: It creates a subfolder with the timestamp in the folder name at the path you specify in line 37: Set f = fso.CreateFolder("C:\SPS_Backup\SPSPortal-" & yr & "-" & mo & "-" & dt & "-" & hr & "-" & min & "-" & sec) The folder name is not just the date, it has the time in there too. Then it runs SPSbackup.exe and backs up the entire portal to this folder, there should be at least 5 files in there. Put in the path to your backup folder in line 37 and make sure line 47 is the correct path to the SharePoint bin folder where spsbackup.exe is Setup a scheduled task in windows to have that script run daily. In the command box ensure you type "cscript [path to your file].vbs" (without the "" of course). ''''''''''''' 'Begin Script ''''''''''''' Dim fso, f, fspec dim yr, mo, dt, hr, min, sec yr = Year(Now) mo = Month(Now) if mo < 10 Then mo = "0" & mo end if dt = Day(Now) if dt < 10 Then dt = "0" & dt end if hr = Hour(Now) if hr < 10 Then hr = "0" & hr end if min = Minute(Now) if min < 10 Then min = "0" & min end if sec = Second(Now) if sec < 10 Then sec = "0" & sec end if destFolder = "SPSPortal-" & yr & "-" & mo & "-" & dt & "-" & hr & "-" & min & "-" & sec Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.CreateFolder("C:\SPS_Backup\SPSPortal-" & yr & "-" & mo & "-" & dt & "-" & hr & "-" & min & "-" & sec) bkFolder = f.Path bkFolder = Replace(bkFolder, "", "\") bkFolder = bkFolder ''''''''''''''''''''''''' 'Run the spsbackup script ''''''''''''''''''''''''' Set objShell = CreateObject("WScript.Shell") objShell.CurrentDirectory = "e:\Program Files\Sharepoint Portal Server\bin" objShell.Exec ("spsbackup.exe /all /file " & bkFolder & "\SPSBackFile") ' WScript.Echo "Backup Started!" SPSFAQ050220 - How to Write a Back Up and Restore Application for SharePoint Portal Server 2003 - 0 Comments - stephencummins - Mon, Mar 21st, 2005 - Backup/Antivirus How to Write a Back Up and Restore Application for SharePoint Portal Server 2003
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/Office_SharePointBackupRestore.asp SPSFAQ050219 - Recovery script for when people (like me) host SharePoint Services to wipe the machine - 0 Comments - stephencummins - Sun, May 16th, 2004 - Backup/Antivirus I can see that a lot of people (like me) have used SharePoint Services (SPS) with the MSDE and have hosed the system. Then they need to recover, or extract, the documents that are shared in the Shared Documents on SharePoint. Aha! If you still have MSDE database files, I can help. Witness the wss-recover.asp file, version 0.1.
http://ralph.hogaboom.org/projects/code/wss-recover/index.asp Ralph Hogaboom SPSFAQ050118 - Simple Backup method for SPS2001 - 0 Comments - stephencummins - Fri, Feb 13th, 2004 - Backup/Antivirus Create a BAT file with this in it::
@echo off echo +++++++++++++++++ echo %date% c: cd \program files\sharepoint portal server\bin move d:\sharepointbackup\full d:\sharepointbackup\full.yesterday @echo off msdmback /b d:\sharepointbackup\full echo completed Open the msdmback.vbs file, search for "WScript.Echo strBanner" and mark this line as TEXT. c:\>at \\computername 3:00AM /Every:m,t,w,th,f,s,su cmd /c "sharepointbackup.bat > c:\sharepointstatus.log" This will write a log file to c:\ every night with "completed" or nothing if it fails. Important note: make sure you save the .bat file to %systemroot%\system32 Based on comments posted to this site, thanks all! Page 1 of 4 - Jump to: 1 2 3 4 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||