Sie sind auf Seite 1von 6

http://scn.sap.com/people/harsha.

bs/blog/2013/04/16/system-copy--backuprestore-method

https://help.sap.com/saphelp_nw70/helpdata/en/34/cba3e7052047498c287cd80e869a55/frameset.ht
m

https://help.sap.com/saphelp_nw70/helpdata/en/08/95bfe9ddee43efb2574c1e244ecdd9/frameset.ht
m

https://help.sap.com/saphelp_nw70/helpdata/en/be/567742e042d242e10000000a1550b0/content.ht
m?frameset=/en/a2/2f0c173a5e43d19585724239ff4de7/frameset.htm&current_toc=/en/ec/9e1802dd
600947abafd2248518697f/plain.htm&node_id=40&show_children=false

https://help.sap.com/saphelp_nw70/helpdata/en/bc/0e774258449041e10000000a1550b0/content.ht
m?frameset=/en/a2/2f0c173a5e43d19585724239ff4de7/frameset.htm&current_toc=/en/ec/9e1802dd
600947abafd2248518697f/plain.htm&node_id=235&show_children=false

Information on backup and recovery of an SAP system on SAP Sybase ASE:


SAP Note 1611715 -SYB: How to restore an SAP Sybase ASE database server (Windows) and
SAP Note 1618817 -SYB: How to restore an SAP Sybase ASE database server (UNIX)
Refer SAP Note 1591387 - SYB: Homogeneous Systemcopy Sybase ASE
for guidance.

http://scn.sap.com/thread/3350472

Hi Ramesh,

Below is the commands to restore the PRD to Quality.

Run from source system

Load database SID from 'e:\sybase\SID\data\SID_012014.dmp'


go

the u will get the prompt showing message like 10%,20% loading
Finally u will get 100% loaded message after that you will get below message
Use the ONLINE DATABASE command to bring this database online; ASE will not
bring it online automatically.

Then u need bring database online

online database 'SID'


go

Database will come online.

There is no need to change sid ,I have followed the above procedure now system up and running fine.
****************
Hi

please find the steps

1. Get a current dump for your SAP database on the source system.
$> isql -SPRD -Usapsa -DPRD
1> dump database PRD to "/sybase/PRD/backups/PRD.dmp"
2> go

2.Transfer the dump to the target system.


copy the dump files to target system

3. Prepare the target database to match the source database's layout.

use procedure sp_ddlgen to get the CREATE DATABASE COMMAND for this.

The example below writes the DDL for database


'PRD' to a file 'DDL_PRD.sql' in the current working directory.
$> isql -SPRD -Usapsa -DPRD
1> sp_ddlgen 'database', 'PRD'
2> go > DDL_PRD.sql

The DDL statements for the creation of the source database can look
like this:
CREATE DATABASE PRD
ON dataPRD_1 = '200704M' -- 12845056 pages
LOG ON logPRD_1 = '4096M' -- 262144 pages
go
ALTER DATABASE PRD on dataPRD_2 = '200704M' -- 12845056 pages'
go

The DDL statements for the creation of the target database can look
like this:

CREATE DATABASE QAS


ON dataQAS_1 = '200704M' -- 12845056 pages
LOG ON logQAS_1 = '4096M' -- 262144 pages
go

Refer SAP note 1591387 or more details

*** It will create empty database QAS then you can load the data from dump

4. Load the database dump from the source system into the target SAP database and set it online.

load database QAS from "/sybase/QAS/backups/PRD.dmp"

5. Perform post-load activities in the database


*************************************

Hello

if you have QAS DB already then the below steps would be fine

1.Transfer the dump to the target system.


copy the dump files to target system ie /sybase/QAS/backups

2. Load the database dump from the source system into the target SAP database and set it online.
isql -SQAS -Usapsa -Dmaster
1>load database QAS from "/sybase/QAS/backups/PRD.dmp"

2>GO

isql -SQAS -Usapsa -Dmaster


1> online database TST
2> go

"Loading dumped data to an existing database overwrites all existing data"


QAS data will be replaced by PRD data.

make sure that QAS system is similar to PRD on SAP layout size(datafiles and logs) to accommodate all
the PRD datas

******************

Das könnte Ihnen auch gefallen