Showing posts with label SAP File System backup using DB13. Show all posts
Showing posts with label SAP File System backup using DB13. Show all posts

SAP File System backup using DB13 Friday, November 19, 2010

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

A NOTE>>>

The articles here are based on my own experiences in using and learning BASIS . All resources related would be mentioned in every article.

Feel free to gave critics, correction, or encouragement. Any comment or question are welcomed.

Cheers,
Gagan Deep Kushal
zk.gagan@gmail.com