Quantcast
Channel: SCN : Discussion List - SAP MaxDB
Viewing all articles
Browse latest Browse all 98

Safe way to restore until a certain point of time

$
0
0

Hello everyone,

 

today we made a mistake and lost the last version of one of the thousand sources of our product on our development machine.

 

It's nothing we can solve via SAP version management. Because we had to deliver a fix for a customer based on an older version of that source, we thought it would be a good idea to just save a user version of the source, go back to the version the customer has, fix it and go back to the current version. What we did not consider is, that releasing a tp containing the source removes all user versions... so don't do that :-)

 

In my eyes, the only way to get the source back is to restore the database.

 

We got a backup created in september 2012 and automatic log backups from that point of time until today (yes, i know, we should do regular backups more often). To have everything from the logspace as backup, i additionally created a manual log backup for the filled log space today. Also, i created a full backup to avoid making the situation worse.


My idea now is to restore the full backup from september and, after that, import all auto log backups + the last log backup with the "restore until" option and set the until date to yesterday.

 

My questions now are:

 

- will this work?

- will the combination of auto log and manual log backup lead to any problem?

- do i have to restore every log backup separately or is there some logic in database studio, which determines, what files have to be restored?

- do you know a better way?

 

Database version is 7.7.06.10

 

Best regards,

 

Robert


Viewing all articles
Browse latest Browse all 98

Trending Articles