473,396 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Online Backup

Hai.....

I have a database............ i took an online
backup for tht.....
After tht mistakenly i dropped the database.......... now i dont have
the logs also....... now after i restore the database it will be in
rollforward pending state........ when i am rollforwarding it is saying
cannot rollforward........ can anyone tell me how to bring the database
back again........

Jun 23 '06 #1
5 1912

Gladiator wrote:
Hai.....

I have a database............ i took an online
backup for tht.....
After tht mistakenly i dropped the database.......... now i dont have
the logs also....... now after i restore the database it will be in
rollforward pending state........ when i am rollforwarding it is saying
cannot rollforward........ can anyone tell me how to bring the database
back again........


Unfortunately, an online backup requires that you rollforward to at
least a point in time right after the backup. The only other option is
to have IBM reset your log control file. This will give you access to
the data, but the database will be unsupported after that. You will
have to export, drop, recreate and import/LOAD your data.

Jun 23 '06 #2

jdokos wrote:
Gladiator wrote:
Hai.....

I have a database............ i took an online
backup for tht.....
After tht mistakenly i dropped the database.......... now i dont have
the logs also....... now after i restore the database it will be in
rollforward pending state........ when i am rollforwarding it is saying
cannot rollforward........ can anyone tell me how to bring the database
back again........


Unfortunately, an online backup requires that you rollforward to at
least a point in time right after the backup. The only other option is
to have IBM reset your log control file. This will give you access to
the data, but the database will be unsupported after that. You will
have to export, drop, recreate and import/LOAD your data.


Thanks for the reply....

Can u elaborate ur
explanation..........plssss/.................

Jun 23 '06 #3
"Gladiator" <vk************@gmail.com> wrote in message >
Thanks for the reply....

Can u elaborate ur
explanation..........plssss/.................


Always specify INCLUDE LOGS in your online backup. It will only include the
logs that were active during the backup, but that is all you need for point
in time recovery of an online backup.
Jun 23 '06 #4
For your explanation:
There is a possibility with online backup that a transaction mofifies data
"to be entered" in the backup as well as modifies a table/tablespace whose
image is already in the backup.
That's why you must be 1) in logretain=recovery and always provide access to
the logs that were active when backing up, to the db after restore for roll
forward.
As Mark specifies further, use the include logs option in your command to
stay on the safe side.
HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Gladiator" <vk************@gmail.com> a écrit dans le message de news:
11**********************@c74g2000cwc.googlegroups. com...

jdokos wrote:
Gladiator wrote:
> Hai.....
>
> I have a database............ i took an online
> backup for tht.....
> After tht mistakenly i dropped the database.......... now i dont have
> the logs also....... now after i restore the database it will be in
> rollforward pending state........ when i am rollforwarding it is saying
> cannot rollforward........ can anyone tell me how to bring the database
> back again........


Unfortunately, an online backup requires that you rollforward to at
least a point in time right after the backup. The only other option is
to have IBM reset your log control file. This will give you access to
the data, but the database will be unsupported after that. You will
have to export, drop, recreate and import/LOAD your data.


Thanks for the reply....

Can u elaborate ur
explanation..........plssss/.................


Jun 23 '06 #5

Pierre Saint-Jacques wrote:
For your explanation:
There is a possibility with online backup that a transaction mofifies data
"to be entered" in the backup as well as modifies a table/tablespace whose
image is already in the backup.
That's why you must be 1) in logretain=recovery and always provide access to
the logs that were active when backing up, to the db after restore for roll
forward.
As Mark specifies further, use the include logs option in your command to
stay on the safe side.
HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Gladiator" <vk************@gmail.com> a écrit dans le message de news:
11**********************@c74g2000cwc.googlegroups. com...

jdokos wrote:
Gladiator wrote:
> Hai.....
>
> I have a database............ i took an online
> backup for tht.....
> After tht mistakenly i dropped the database.......... now i dont have
> the logs also....... now after i restore the database it will be in
> rollforward pending state........ when i am rollforwarding it is saying
> cannot rollforward........ can anyone tell me how to bring the database
> back again........

Unfortunately, an online backup requires that you rollforward to at
least a point in time right after the backup. The only other option is
to have IBM reset your log control file. This will give you access to
the data, but the database will be unsupported after that. You will
have to export, drop, recreate and import/LOAD your data.


Thanks for the reply....

Can u elaborate ur
explanation..........plssss/.................


thanks a lot every one...

regards...
kamal

Jun 26 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Arijit Chatterjee | last post by:
Dear Friends, I don't know anybody has asked this question before or not.But I need a support urgently.How to take online backup in MS Sql server 2000. Thanks Arijit Chatterjee
3
by: Almund Sebi | last post by:
(Using UDB 7.2 FP11). Given this output from LIST BACKUP HISTORY FOR MYDB: (It's an online backup image) > Op Obj Timestamp+Sequence Type Dev Earliest Log Current Log Backup ID > -- ---...
4
by: manwiththeaxe.70 | last post by:
I have recently begun to migrate our DB2 UDB v7.2 enterprise databases up to DB2 UDB v8.2. One question I can't seem to understand is why would I want to run an offline backup for a database now...
3
by: Konstantin Andreev | last post by:
Hello, everybody. I've spent a lot of time reading "DB2 Information Center" and Raul Chong's book "Understanding DB2. Learning Visually with Examples", but still unable to answer this simple...
10
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But......
4
by: Al | last post by:
We have a production DB that is running DB2 v8 fix pak 8. Some of configuration parameter on the primary DB config file is: Logretain = NO Userexit = NO Logarchmeth1 = Disk:/aa/bb/ccc/ when...
4
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the...
6
by: michael.spoden | last post by:
Hi, how can I fix lock-waits during an online backup? Is an online backup in DB2 V8.2 not realy online? I'm using DB2 V8.2 Fixpak 15 on Linux. The command to perform the backup is: db2 backup...
2
by: heyzulu59 | last post by:
I thought that an online backup could always be run while other processes with the database went about their business. However today I noticed that certain processes in my production database were...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.