on 01-08-2009 9:46 AM
Hi,
I need to restore from a backup only one "Z" program.Is that possible without restoring the whole backup?
Thanks
Stefan
Can't you have a look at (ABAP) version management?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is NOT possible to restore a single object from a database backup.
The only work around would be to restore the full backup on a different server (homgeneous copy), then create a transport request containing the object to restore and import this transport request in the target system. Quite a long and culbersome procedure !
I hope for you that you can use version management...
Regards,
Olivier
You COULD use the redo-logs, but not to restore your individual program!
You COULD roll back to before your "technical problem" ... but again it's all or nothing I'm afraid.
Just out of interest, what type of technical problem is preventing you from using a previous version of the ABAP?
EDIT: If it's a Z program, is it not contained within a transport request that you could re-apply ?
Edited by: Scott Butler on Jan 8, 2009 2:47 PM
Hi,
Thanks for your reply. We could use version management,but what is very strange: for example the last version of the program is on 04.12.08 in version management,but we work on the program after 4th of December.It's very strange that we lost about 50 rows of code ???We tryed to retrieve last version,but it is from 4th of december, after we did some changes in code.Do you have any ideas ?
Thanks,
Stefan
Stefan,
If you have the disk space, restore the backup of the database to a different database name. Once done, script the creation of the object, and then run it in your Dev database. If that is successful, drop the temporary database.
It's not quick, but it'll do the trick if you have the space. You can look at 3rd party solutions for backup / restore capabilities. Some of them provide object-level restore, but you'd have to investigate. Start with Red-Gate, Quest, and Idera. They all make really good products for SQL Server.
Hope this helps!
Jason
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.