Hi all,
I know this is possible in Oracle but has anyone done it in DB2 and
could you maybe direct me to some documentation or let me know how I
would go about doing it?
In the oracle world you would basically need to do the following:
1. Set tablespace to backup mode
2. Copy associated data files to new directory/system
3. Set tablespace off backup mode
4. Keep doing the above for all the tablespaces.
5. Force a log switch to write an archive log
6. Copy the archive logs over to the new directory/system
7. create a new control file with the new system name etc.
8. bring up the DB.
That was basically it.
In most cases we copied the data files over to a new system via rfc
(scp)
Can you do this or something similar in db2 on AIX?
Thanks,
Kevin 5 3091
1. Take an online backup of the database from source system (include
the logs in the backup)
2. FTP the backup to the destination system
3. Restore the back up on the destination system(redirected restore if
the tablespace containers do not follow the same structure)
4. rollforward logs on the destination system
Hope this helps.
Kums ke******@yahoo.com wrote: Hi all,
I know this is possible in Oracle but has anyone done it in DB2 and could you maybe direct me to some documentation or let me know how I would go about doing it?
In the oracle world you would basically need to do the following:
1. Set tablespace to backup mode 2. Copy associated data files to new directory/system 3. Set tablespace off backup mode
4. Keep doing the above for all the tablespaces. 5. Force a log switch to write an archive log 6. Copy the archive logs over to the new directory/system 7. create a new control file with the new system name etc. 8. bring up the DB.
That was basically it.
In most cases we copied the data files over to a new system via rfc (scp)
Can you do this or something similar in db2 on AIX?
Thanks,
Kevin hi****@gmail.com wrote: 1. Take an online backup of the database from source system (include the logs in the backup) 2. FTP the backup to the destination system 3. Restore the back up on the destination system(redirected restore if the tablespace containers do not follow the same structure) 4. rollforward logs on the destination system
Hope this helps.
Kums ke******@yahoo.com wrote: Hi all,
I know this is possible in Oracle but has anyone done it in DB2 and could you maybe direct me to some documentation or let me know how I would go about doing it?
In the oracle world you would basically need to do the following:
1. Set tablespace to backup mode 2. Copy associated data files to new directory/system 3. Set tablespace off backup mode
4. Keep doing the above for all the tablespaces. 5. Force a log switch to write an archive log 6. Copy the archive logs over to the new directory/system 7. create a new control file with the new system name etc. 8. bring up the DB.
That was basically it.
In most cases we copied the data files over to a new system via rfc (scp)
Can you do this or something similar in db2 on AIX?
Thanks,
Kevin
Kums,
that's a very similiar idea to the oracle "copy" that I described
except it's using the backup command.
Is there a similar way of just doing a copy? So that you don't have to
have a "dump" space for the backup. Although that isn't all that bad,
could just have a NFS mounted filesystem and dump to it.
Thanks,
Kevin ke******@yahoo.com wrote: hi****@gmail.com wrote: 1. Take an online backup of the database from source system (include the logs in the backup) 2. FTP the backup to the destination system 3. Restore the back up on the destination system(redirected restore if the tablespace containers do not follow the same structure) 4. rollforward logs on the destination system
Hope this helps.
Kums ke******@yahoo.com wrote: Hi all,
I know this is possible in Oracle but has anyone done it in DB2 and could you maybe direct me to some documentation or let me know how I would go about doing it?
In the oracle world you would basically need to do the following:
1. Set tablespace to backup mode 2. Copy associated data files to new directory/system 3. Set tablespace off backup mode
4. Keep doing the above for all the tablespaces. 5. Force a log switch to write an archive log 6. Copy the archive logs over to the new directory/system 7. create a new control file with the new system name etc. 8. bring up the DB.
That was basically it.
In most cases we copied the data files over to a new system via rfc (scp)
Can you do this or something similar in db2 on AIX?
Thanks,
Kevin
Kums,
that's a very similiar idea to the oracle "copy" that I described except it's using the backup command.
Is there a similar way of just doing a copy? So that you don't have to have a "dump" space for the backup. Although that isn't all that bad, could just have a NFS mounted filesystem and dump to it.
Hmm, in Viper you can perform tablespace buck-ups and stitch it back
together on the remote side, but I fail to see where the difference is
between copies and backup/restore? Care to motivate?
Cheers
Serge
PS: Search for my name on www.ibm.com. You'll find a COPY SCHEMA
article. Maybe that'll help?
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Investigate the:
db2relocatedb.
This allows you to take fast OS file system copies ot using flash copies on
ESS or SAN boxes.
Once the data is moved, you use the command on the receiving system with a
config file you build.
The Admin. Guide has all the necessary info.
You can script those, do it once and afte it's only a repeat of the scripts.
HTH, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ke******@yahoo.com> a écrit dans le message de news: 11**********************@e56g2000cwe.googlegroups. com... hi****@gmail.com wrote: 1. Take an online backup of the database from source system (include the logs in the backup) 2. FTP the backup to the destination system 3. Restore the back up on the destination system(redirected restore if the tablespace containers do not follow the same structure) 4. rollforward logs on the destination system
Hope this helps.
Kums ke******@yahoo.com wrote: > Hi all, > > I know this is possible in Oracle but has anyone done it in DB2 and > could you maybe direct me to some documentation or let me know how I > would go about doing it? > > In the oracle world you would basically need to do the following: > > 1. Set tablespace to backup mode > 2. Copy associated data files to new directory/system > 3. Set tablespace off backup mode > > 4. Keep doing the above for all the tablespaces. > 5. Force a log switch to write an archive log > 6. Copy the archive logs over to the new directory/system > 7. create a new control file with the new system name etc. > 8. bring up the DB. > > That was basically it. > > In most cases we copied the data files over to a new system via rfc > (scp) > > Can you do this or something similar in db2 on AIX? > > Thanks, > > Kevin
Kums,
that's a very similiar idea to the oracle "copy" that I described except it's using the backup command.
Is there a similar way of just doing a copy? So that you don't have to have a "dump" space for the backup. Although that isn't all that bad, could just have a NFS mounted filesystem and dump to it.
Thanks,
Kevin
Thanks for your responses.
It seems like this does an "internal" rename. So it seems like you
need to have the files copied over, paths renamed etc. before you run
the script.
Kevin
Pierre Saint-Jacques wrote: Investigate the: db2relocatedb.
This allows you to take fast OS file system copies ot using flash copies on ESS or SAN boxes. Once the data is moved, you use the command on the receiving system with a config file you build. The Admin. Guide has all the necessary info. You can script those, do it once and afte it's only a repeat of the scripts.
HTH, Pierre.
-- Pierre Saint-Jacques SES Consultants Inc. 514-737-4515 <ke******@yahoo.com> a écrit dans le message de news: 11**********************@e56g2000cwe.googlegroups. com... hi****@gmail.com wrote: 1. Take an online backup of the database from source system (include the logs in the backup) 2. FTP the backup to the destination system 3. Restore the back up on the destination system(redirected restore if the tablespace containers do not follow the same structure) 4. rollforward logs on the destination system
Hope this helps.
Kums ke******@yahoo.com wrote: > Hi all, > > I know this is possible in Oracle but has anyone done it in DB2 and > could you maybe direct me to some documentation or let me know how I > would go about doing it? > > In the oracle world you would basically need to do the following: > > 1. Set tablespace to backup mode > 2. Copy associated data files to new directory/system > 3. Set tablespace off backup mode > > 4. Keep doing the above for all the tablespaces. > 5. Force a log switch to write an archive log > 6. Copy the archive logs over to the new directory/system > 7. create a new control file with the new system name etc. > 8. bring up the DB. > > That was basically it. > > In most cases we copied the data files over to a new system via rfc > (scp) > > Can you do this or something similar in db2 on AIX? > > Thanks, > > Kevin
Kums,
that's a very similiar idea to the oracle "copy" that I described except it's using the backup command.
Is there a similar way of just doing a copy? So that you don't have to have a "dump" space for the backup. Although that isn't all that bad, could just have a NFS mounted filesystem and dump to it.
Thanks,
Kevin
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Cristina |
last post by:
Hallo
i am a beginner into Oracle Technologies.I would like to make backup
of my database,but i dont know how.Is there tools?Can i schedule the
backup plan?
thanks
Cristina
|
by: LizP |
last post by:
Could someone help us with a problem we're having with regard to
moving several databases from SQL 7 to SQL 2000 on different servers
in different domains. Our current SQL 7 server resides in one...
|
by: Rob Wahmann |
last post by:
Is there a way to copy/duplicate and rename a database on the same server? I
need to make a copy for another application. I appreciate any tips or advice
you can provide!
TIA - Rob
|
by: xmp333 |
last post by:
Hi,
I have read the MS documentation and researched this matter, but I
could not find the answer to my question. If this is online or in a
FAQ somewhere, I apologize in advance.
How...
|
by: Daven Thrice |
last post by:
If I have a fairly big Access MDB, that is relational, and has, say, 100
objects (forms, reports, modules, etc.), what is the path to get this
database "online".
Is there a way to put the tables...
|
by: Mr Gabriel |
last post by:
Hi to all,
I'm trying to use the copy database wizard to copy a database from the
2000 version to the 2005 version of sql server. I choose not to copy
logins so I expect to find a database with...
|
by: Rico |
last post by:
Hello,
I have a database in 2005 that I'd like to copy and attach in 2000. Is this
possible? if so, how do I do it? I've tried doing a number of things from
just trying to attach to the db...
|
by: Dave |
last post by:
I'm very new to SQL Server 2005, so please be kind.
We had a vendor in and they loaded their software and the database
that was created is sitting
on the root (c:) drive. On this server we have...
|
by: Steve |
last post by:
Hi;
I thought I would rephrase a question I asked in another post to more
quickly get to the heart of the matter. My apologies for anyone who
is offended by what appears to be a repetition.
...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |