It is impossible to do it via Central Administration.
To be able to schedule your backups you need to create a batch file and use Task Scheduler to schedule.
Important:
You need to use an admin account to run the batch file successfully (SP Admin account would be fine), otherwise you ll get `Access Denied` error.
Create a .bat file using notepad, paste the code below, fix the backup path (best practice would be using a shared location if you have multiple servers to backup.)
Another note:
Ex:
If you have the backup batch file in D: but stsadm.exe is on c:
Put `c:` above the line
cd %COMMONPROGRAMFILES% ...
Ex:
...
echo====..
c:
cd %COMMONPROGRAMFILES% ...
...
CODE:
@echo off
echo ===============================================================
echo Back up the farm to C:\backup
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\BIN
@echo off
stsadm.exe -o backup -directory "\backup" -backupmethod full
echo completed
Source:
http://technet.microsoft.com/en-us/library/cc288541(office.12).aspx
To be able to schedule your backups you need to create a batch file and use Task Scheduler to schedule.
Important:
You need to use an admin account to run the batch file successfully (SP Admin account would be fine), otherwise you ll get `Access Denied` error.
Create a .bat file using notepad, paste the code below, fix the backup path (best practice would be using a shared location if you have multiple servers to backup.)
Another note:
Ex:
If you have the backup batch file in D: but stsadm.exe is on c:
Put `c:` above the line
cd %COMMONPROGRAMFILES% ...
Ex:
...
echo====..
c:
cd %COMMONPROGRAMFILES% ...
...
CODE:
@echo off
echo ===============================================================
echo Back up the farm to C:\backup
echo ===============================================================
cd %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\12\BIN
@echo off
stsadm.exe -o backup -directory "\backup" -backupmethod full
echo completed
Source:
http://technet.microsoft.com/en-us/library/cc288541(office.12).aspx
Hiç yorum yok:
Yorum Gönder