2) Create a command using STSADM
3) Set the path to store BACKUP
4) Go to TASK SCHEDULEr in server
5) Set the Schedule and account with elevated priviledges
6) Verify the backup and the location
COMMAND
@echo off
echo ===============================================================
echo Back up the farm to E:\CSKH_Backups
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\15\BIN
@echo off
stsadm.exe -o backup -url http://myportal -filename \\NASFSVS\KMSadmin_share\portalSP%date:~-2%%date:~4,2%%date:~7,2%.bak -overwrite -nositelock
echo completed
*** One Important Thing when creating TASK
How the file name set:
portalSP%date:~-2%%date:~3,2%%date:~0,2%.bak
if date is 29 - 09 - 15 ==> portalSP150929.bak
01 2 34 5 67
1 comment:
Great Post. Thanx alot :)
Post a Comment