If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Backups in DB2 for a Newbie

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-09, 10:56
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Backups in DB2 for a Newbie

Well, like the title says im a complete newbie in DB2, what i need is a "How to back up a Database in DB2 for Dummies" Tutorial, any suggestions ?

What i need to do is to copy an entire database from a computer to another, i have already done a security backup in a file that has a .001 Extension, but i dont know how to get it into the other comp.

Thanx in advice

E.
Reply With Quote
  #2 (permalink)  
Old 02-18-09, 10:59
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Well I would suggest you TRY TO DO IT YOURSELF first and if you face any issues you can always ask here.....

The best place to start is http://publib.boulder.ibm.com/infoce...w/v9/index.jsp

Also if you are thinking of copying the database from Windows DB2 to a Linux DB2 or AIX DB2 then let me just tell you that is not possible..... same is the case with backing up a db in 8.2 and trying to restore it in 9.5

It would also be great if you let us know which DB2 version you are using,
__________________
IBM Certified Database Associate, DB2 9 for LUW

Last edited by nick.ncs; 02-18-09 at 11:02.
Reply With Quote
  #3 (permalink)  
Old 02-18-09, 11:02
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by nick.ncs
Well I would suggest you TRY TO DO IT YOURSELF first and if you face any issues you can always ask here.....

The best place to start is "DB2 Information Center"
my friend if i am here is because i have already tried to do it myself.
my issue is that i have NO IDEA whats next after i made the Security Backup

thanx pal

Its a Backup From Windows Server 2003 to Windows XP hope that there is no problem on that
Reply With Quote
  #4 (permalink)  
Old 02-18-09, 11:07
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
Quote:
Originally Posted by Edeshi
my friend if i am here is because i have already tried to do it myself.
my issue is that i have NO IDEA whats next after i made the Security Backup
If you could take a backup yourself, restoring the same is equally easier and should have been a non-issue

Search for RESTORE DATABASE Command in the Info Center.
__________________
IBM Certified Database Associate, DB2 9 for LUW
Reply With Quote
  #5 (permalink)  
Old 02-18-09, 13:22
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by nick.ncs
If you could take a backup yourself, restoring the same is equally easier and should have been a non-issue

Search for RESTORE DATABASE Command in the Info Center.
THANX a LOT

I have now the database copied but i got a SQL0290N when im trying to see the contents of the tables, it says there is a problem accessing table spaces

i guess that i missed something while i made the backup or something. Any Suggestions ?

thx again in advice, u know, its hard to be a headache newbie that looks like dont know what "raft" means, im working on leaving that status as soon as posible
Reply With Quote
  #6 (permalink)  
Old 02-18-09, 13:56
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Did you user the DB2 BACKUP command, or just copy the files? I ask, because I do not know what you mean by "Security Backup".

Andy
Reply With Quote
  #7 (permalink)  
Old 02-18-09, 14:02
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Edeshi
u know, its hard to be a headache newbie that looks like dont know what "raft" means, im working on leaving that status as soon as posible
You will do yourself and many others a huge favour by reading this: Must Read before posting - it is made sticky for a reason.

Another hint - some people will not even read to the end a posting made in lolspeak.
Reply With Quote
  #8 (permalink)  
Old 02-18-09, 15:02
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by ARWinner
Did you user the DB2 BACKUP command, or just copy the files? I ask, because I do not know what you mean by "Security Backup".

Andy
yes i used the Backup Command
Reply With Quote
  #9 (permalink)  
Old 02-18-09, 15:14
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by n_i
You will do yourself and many others a huge favour by reading this: Must Read before posting - it is made sticky for a reason.

Another hint - some people will not even read to the end a posting made in lolspeak.
Is there anything in this post that HAS SOMETHING to be about how to solve the problem?

i am not asking you to solve my problem, im asking for help about stuff that i dont know how to handle right. You can be mean but that will not help solve the problem so... why post something that doesnt help ?

Another hint - a Newbie post doesnt mean "Come here to make this guy looks like a fag"
Reply With Quote
  #10 (permalink)  
Old 02-18-09, 15:24
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Was it an online or offline backup?

Andy
Reply With Quote
  #11 (permalink)  
Old 02-18-09, 15:25
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Edeshi
Is there anything in this post that HAS SOMETHING to be about how to solve the problem?
Nobody here is obliged to solve your problems. If you want other people's help I think you should do your part too - at least state your problem correctly.

However, you seem to be unwilling to do even that. Good luck, then.
Reply With Quote
  #12 (permalink)  
Old 02-18-09, 15:27
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by ARWinner
Was it an online or offline backup?

Andy
it was an online backup
Reply With Quote
  #13 (permalink)  
Old 02-18-09, 15:28
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Did you rollforward the DB after the RESTORE?

Andy
Reply With Quote
  #14 (permalink)  
Old 02-18-09, 15:44
Edeshi Edeshi is offline
Registered User
 
Join Date: Feb 2009
Posts: 9
Quote:
Originally Posted by ARWinner
Did you rollforward the DB after the RESTORE?

Andy

it doesnt let me do that

MESSAGE : Rollforward failed to connect to database. sqlcode -980.
Reply With Quote
  #15 (permalink)  
Old 02-18-09, 16:29
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
What DB2 version on each server and which OS on each server are you using?

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On