1) Run Tx code SE16N (Or any utility u like) to edit stanard table SDBAC to add the new Action into DB13
Type -->File
DataBase -->*
OP System -->*
Language -->EN
DBA Action -->File System
DBA Action -->File System Backup
Server -->DBHOST
Exec Mode -->EXT
Command -->ZFILESYSTEM
2) Create OS level Script for taking file system backup using any OS utility here XCOPY
File is saved as H:\test\file.cmd with text
xcopy F:\usr\sap\SID\SYS\profile H:\test
3)Edit table sxpgcotabe as below
Command Name -->ZFILESYSTEM
OP.Sys -->External Program
ANYOS -->H:\test\file.bat
4)Go to DB13 you can see new action as File system Backup
5)For testing execute immediately , later on can be scheduled as needed
6)If you want to have offline backup of file system need to edit script to shutdown SAP and start accordignly .
This can be utilized to schedule file system backup for Java systems specially and also XCOPY options can be explored as it support file sync as well.
http://www.computerhope.com/xcopyhlp.htm
Regards,
Gagan Deep Kaushal
0 comments:
Post a Comment