473,395 Members | 1,537 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,395 software developers and data experts.

Backup-Restore problem

1
I have a server where I can't restore backups, even if they are taken at the same server (see command-lines below).
It is DB2 8, fixpack 10

Please, anyone who can help?

D:\>db2 create db xxx on d
DB20000I The CREATE DATABASE command completed successfully.

D:\>db2 backup db xxx to d:\x

Backup successful. The timestamp for this backup image is : 20080311163520


D:\>db2 restore db xxx from d:\x
SQL2570N A database cannot be restored on a platform that does not match the
platform on which the backup image was created.

D:\>
Mar 11 '08 #1
2 1707
sakumar9
127 Expert 100+
Interesting problem. :)

Can you give some details like platform, DB2 version etc.

One possibility is to check if there are some other images at d:\x. I am not sure of this but you can give it a try. Remove the contents from this directory and then try the BACKUP and RESTORE.

If I find something else, I will let you know. Thanks

Regards'
-- Sanjay
Mar 12 '08 #2
sakumar9
127 Expert 100+
I tried reproducing it but it passed for me on FP16. :(

Expand|Select|Wrap|Line Numbers
  1. C:\Documents and Settings\Administrator\Desktop>db2 create db xxx on c:
  2. DB20000I  The CREATE DATABASE command completed successfully.
  3.  
  4. C:\Documents and Settings\Administrator\Desktop>db2 backup db xxx to c:\x
  5.  
  6. Backup successful. The timestamp for this backup image is : 20080312123801
  7.  
  8.  
  9. C:\Documents and Settings\Administrator\Desktop>db2 restore db xxx from c:\x
  10. SQL2539W  Warning!  Restoring to an existing database that is the same as the ba
  11. ckup image database.  The database files will be deleted.
  12. Do you want to continue ? (y/n) y
  13. DB20000I  The RESTORE DATABASE command completed successfully.
  14.  
  15. C:\Documents and Settings\Administrator\Desktop>db2level
  16. DB21085I  Instance "DB2" uses "32" bits and DB2 code release "SQL08029" with
  17. level identifier "030A0106".
  18. Informational tokens are "DB2 v8.1.16.429", "s080111", "WR21390", and FixPak
  19. "16".
  20. Product is installed at "C:\PROGRA~1\IBM\SQLLIB".
  21.  
  22.  
  23. C:\Documents and Settings\Administrator\Desktop>
  24.  
  25.  
Can you also attach the db2diag.log file. Just clean this file before reproducing the error. This will keep it smaller.

Regards
-- Sanjay
Mar 12 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
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
2
by: jwbeaty | last post by:
Here's a weird one. I'm running SQL Server 7 and when I run a backup something weird happens. When I perform the backup via Enterprise Manager by right clicking on the database I want to...
3
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database...
2
by: Matt | last post by:
I run SQL Server 2000 and use thier database maintenance plans to backup my databases. My questions is what happens if a change is being made to a database table while a backup is running? Should I...
1
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1",...
4
by: uthuras | last post by:
Hi all, I have DB2ESE version 8.1 with FP 4 on AIX 5.2. My database used to be 1.1TB. When the DB size is 1.1TB, it takes approximately 7 hours to backup the entire database (online backup). The...
0
by: Massimiliano Campagnoli | last post by:
I am trying to backup sample database to network drive J:\ which maps to a SAMBA share. The first time the backup is successfull but the the next time fails. I've to delete J:\sample.0 if I want...
2
by: m19peters | last post by:
We have a script that I had to rework a little bit for 2005 that does a full backup for every database on the server... For some reason on some nights the script does not backup all databases......
5
by: Roger | last post by:
backup log testdb with truncate_only DBCC SHRINKFILE (testdb_log, 100) WITH NO_INFOMSGS backup database testdb to disk = '\\DC01\Backups\DB01\testdb.bak' with init and does the shrinkfile...
2
by: =?Utf-8?B?RG91Z3BpY2s=?= | last post by:
For some reason I cannot explain my backup has backed up onto the hard dics using Microsoft backup doubling the content leaving little space on the disc. How can I delete this backup from the disc.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.