Backup And Restore
Hi EveryOne,
i use sharepoint2007 WSS on Windows Server 2008 and i use this script to backup "Large Files" the website:
@echo off
set bakFolder=D:\WSSBackup\%date:~10,4%-%date:~4,2%-%date:~7,2%\
set exePath=c:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\bin\stsadm.exe
set appURL=http://MyWebSite/
"%exePath%" -o export -url %appURL% -includeusersecurity -nofilecompression -filename %bakFolder%
and the Restore Script is :
@echo off
set bakFolder=D:\WSSBackup
set exePath=c:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\bin\stsadm.exe
set appURL=http://NewWebSite/
"%exePath%" -o import -url %appURL% -includeusersecurity -nofilecompression -filename %bakFolder%
the problem is when i restore the website in Windows server 2003 it doesn't work.
Please Any Help...
Thanks in Advance
June 7th, 2010 12:01pm
Hi AhmedShbhy,
Do you have some custom Sharepoint Solution (.wsp) deploy on the farm you took the backup ?
If the answer is yes, you should deploy them on the farm you attemp to restore the site.
Hope that help, MarioMon Blog/My Blog (in french)
LinkedIn
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 3:33pm
Thanks Mario for your reply,i don't have Sharepoint Solution i just have document Library has many of files and as i mentioned before i use WSS so i have limitation on the large size so i need to back the whole site from win_server 2008 to win_server 2003.
June 7th, 2010 4:23pm
Okay,
When you say "it doesn't work" could you give us more information about the error ?
Is it the import command that fails or the error happens when you browse the site ?
Do you have an error in the event log or in ULS log ?
MarioMon Blog/My Blog (in french)
LinkedIn
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 5:28pm


