473,757 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Backup of DB2 on Windows 2003 using open file option

I have no experience with DB2 as such, but I've been tasked with configuring
backup of a server running DB2 v8 on Windows Server 2003. I do have some
experience with backups in general though. The backup software I'll be using
is Backup Exec 10, but Backup Exec doesn't have a specific agent for DB2, as
it does for SQL and Oracle. The supplier of Backup Exec claims I can use the
Open File option of Backup Exec to backup DB2.
I find this a bit strange, I would have thought reading locked database
files and backing up was a bad thing to do, because I of course have to
guarantee I can restore the database to a consistent state in case of crash.
I've posted a similar question of Veritas' support forum, and the reply was
essentially "we can't guarantee it will work with open file".
Of course I can shut down DB2 and do a cold backup, or use the dump feature
( I assume DB2 has a dump feature) but I'm specifically looking for on-line
backups.
/charles
Nov 12 '05 #1
6 5196
"Charles Morrall" <ch************ *@telia.com> wrote in message
news:fo******** ***********@new sb.telia.net...
I have no experience with DB2 as such, but I've been tasked with configuring backup of a server running DB2 v8 on Windows Server 2003. I do have some
experience with backups in general though. The backup software I'll be using is Backup Exec 10, but Backup Exec doesn't have a specific agent for DB2, as it does for SQL and Oracle. The supplier of Backup Exec claims I can use the Open File option of Backup Exec to backup DB2.
I find this a bit strange, I would have thought reading locked database
files and backing up was a bad thing to do, because I of course have to
guarantee I can restore the database to a consistent state in case of crash. I've posted a similar question of Veritas' support forum, and the reply was essentially "we can't guarantee it will work with open file".
Of course I can shut down DB2 and do a cold backup, or use the dump feature ( I assume DB2 has a dump feature) but I'm specifically looking for on-line backups.
/charles

DB2 has on-line backups. But you will need the log files that are active
during the backup if you want to restore an on-line backup. However, if you
have DB2 8.2 (free upgrade from 8.1 just by applying the latest fixpak) then
there is an option in the on-line backup to also include the necessary log
files in the backup image. See the Command Reference manual.

You cannot backup DB2 just by backing up the file systems (I should say you
cannot successfully restore DB2), unless you backup/restore the entire disk
drive (all drives that DB2 is using) while DB2 is off-line.
Nov 12 '05 #2
Of course I can shut down DB2 and do a cold backup, or use the dump

feature
( I assume DB2 has a dump feature) but I'm specifically looking for

on-line
backups.
/charles

DB2 has on-line backups. But you will need the log files that are active
during the backup if you want to restore an on-line backup. However, if
you
have DB2 8.2 (free upgrade from 8.1 just by applying the latest fixpak)
then
there is an option in the on-line backup to also include the necessary log
files in the backup image. See the Command Reference manual.

You cannot backup DB2 just by backing up the file systems (I should say
you
cannot successfully restore DB2), unless you backup/restore the entire
disk
drive (all drives that DB2 is using) while DB2 is off-line.


By "DB2 has on-line backups" do you mean I can export an on-line database
(dump) while the database is running, and in the next stage use my backup
application to backup the export to tape (or disk in my case)?
/charles
Nov 12 '05 #3
"Charles Morrall" <ch************ *@telia.com> wrote in message
news:tB******** ***********@new sb.telia.net...


By "DB2 has on-line backups" do you mean I can export an on-line database
(dump) while the database is running, and in the next stage use my backup
application to backup the export to tape (or disk in my case)?
/charles

Yes, you can backup while DB2 is running and people are updating the data.
However it is best to do the backup at time when the least amount of updates
are being done, because this will reduce the number of logs that need to be
saved with the backup, and reduce the restore time (if a restore is needed).

After the backup is taken, you could copy the file to tape, and reverse the
process for the restore. Products like TSM (Tivoli Storage Manager) that
have a DB2 interface will do this automatically for you without the 2 step
process and also backup your other file systems..

Just remember to also backup the logs that are active during the backup, or
use 8.2 and indicate that you want the needed logs in the backup image.
Nov 12 '05 #4
> Yes, you can backup while DB2 is running and people are updating the data.
However it is best to do the backup at time when the least amount of updates are being done, because this will reduce the number of logs that need to be saved with the backup, and reduce the restore time (if a restore is needed).
After the backup is taken, you could copy the file to tape, and reverse the process for the restore. Products like TSM (Tivoli Storage Manager) that
have a DB2 interface will do this automatically for you without the 2 step
process and also backup your other file systems..

Just remember to also backup the logs that are active during the backup, or use 8.2 and indicate that you want the needed logs in the backup image.

One thing to add, you must enable "log retain" (or specify an archive exit
program) in the DB CONFIG in order to do an on-line backup. The default is
circular logging when you create a database.
Nov 12 '05 #5
Charles Morrall wrote:
I have no experience with DB2 as such, but I've been tasked with configuring backup of a server running DB2 v8 on Windows Server 2003. I do have some experience with backups in general though. The backup software I'll be using is Backup Exec 10, but Backup Exec doesn't have a specific agent for DB2, as it does for SQL and Oracle. The supplier of Backup Exec claims I can use the Open File option of Backup Exec to backup DB2.
I find this a bit strange, I would have thought reading locked database files and backing up was a bad thing to do, because I of course have to guarantee I can restore the database to a consistent state in case of crash. I've posted a similar question of Veritas' support forum, and the reply was essentially "we can't guarantee it will work with open file".
Of course I can shut down DB2 and do a cold backup, or use the dump feature ( I assume DB2 has a dump feature) but I'm specifically looking for on-line backups.
/charles


I haven't seen the Veritas product for a few years, but I think the
intent was to make a quick image (or copy ?) of the open file
elsewhere, and then include that in the backup instead of the actual
open file. The logs should then allow consistent restore.

However, DB2 version 8.2 has its own great backup utility (including
compression) which might obviate the situation, although I don't know
about on-line -- comment from the experts? Both the Vertas (Backup
Exec) and the CA (Arcserve & Brightstor) products have open file
capabilities (not even options any more), so I assume that they work
somehow.
Don't expect anyone to say that "We guarantee it will work ..."

Stan

Nov 12 '05 #6
> I haven't seen the Veritas product for a few years, but I think the
intent was to make a quick image (or copy ?) of the open file
elsewhere, and then include that in the backup instead of the actual
open file. The logs should then allow consistent restore.

However, DB2 version 8.2 has its own great backup utility (including
compression) which might obviate the situation, although I don't know
about on-line -- comment from the experts? Both the Vertas (Backup
Exec) and the CA (Arcserve & Brightstor) products have open file
capabilities (not even options any more), so I assume that they work
somehow.
Don't expect anyone to say that "We guarantee it will work ..."

Stan

The experts have already commented.

Backing up operating system files will not suffice for a backup of DB2 while
it is running. Even off-line, a file system backup would have to include all
disks on the system that DB2 touched.
Nov 12 '05 #7

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

Similar topics

3
2954
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb drives? To tracebacks are provided below for more information. This is the version information I get when I start Python ojn my Fedora Core 2 computer. -bash-2.05b$ python Python 2.3.3 (#1, May 7 2004, 10:31:40)
6
4455
by: Nathan Sokalski | last post by:
I want to set up SQL Server on Windows XP Pro so that I can use the database capabilities of ASP and IIS. I am probably using some incorrect settings, but I am not sure what they are. Here is what I am currently doing: When I run sqlservr.exe I see the following: 2003-12-19 15:51:28.20 server Microsoft SQL Server 2000 - 8.00.760 (Intel X8 6)
11
3764
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
1
16231
by: Andrew E | last post by:
I just took over DBA responsibilities for an Oracle 8i database running on Linux. Although I've been working with relational databases for some time, I'm a bit green on Oracle so forgive me. My first task was to implement a backup strategy (currently there is none). I did a great deal of research both on this board and using the Oracle Press 8i handbook. I made a cold backup (with oracle shutdown) and sucessfully moved it from my...
2
2227
by: Spieg | last post by:
I've a program with VB6 working with SQLServer 2000. I have a Central Station with the program runnin with full prvileges and that can perform all the actions on the DB. There are also some clients that cannot be connected via LAN or internet that need to use the same DB. The way I solved this with Aces was to copy the Access file from the Central Station ot the disconnected clients. Then to update the central Staton I used to save the...
6
1727
by: Sue W via AccessMonster.com | last post by:
We have a database that is in use 24/7, and does not get backed up by our network backup software because it is always open. Does anyone have experience with backup software specifically designed for Access which claims to back up open Access databases? (One example is something called Access Database Autopilot.) The pessimist in me tends to distrust such things. We currently are asking the end user in charge of this db to kick everyone...
3
2745
by: rdemyan via AccessMonster.com | last post by:
I'm thinking about providing a relatively easy method for users to restore the front end from a backup. The purpose is to allow for restoring if the front end becomes corrupt. Here are some particulars about my app 1) The front end is distributed as a .mde file. 2) Front end uses workgroup security 3) A separate logon form is used to actually launch the front end. 4) My app includes a backup front end form, that backups the front end...
3
4330
by: xeqister | last post by:
Hi, I have a DB2 database (version 7) running on Windows 2000 server and recently facing problem to backup my database. I got an error "Disk was full" after half way running the backup. My database size is about 10GB, I have tried to backup the database into a DDS tape (20GB) or hardisk (100GB free space) but still getting the same error. So, there is no possibility that the backup media is full. Anyway, here's part of db2diag.log file...
1
4383
by: micofarmer | last post by:
We are running a PHP web-based frontend with a Postgres 7.2 backend on a Windows 2000 Server box with automated backups of the server being handled by Legato. We are experiencing several problems that point in the general direction of the backup process but we have nothing concrete. The Legato system runs incremental backups Monday through Saturday with a full server backup on Sunday. The problems we are seeing are mainly database...
0
9487
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9297
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9735
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6556
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5324
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3828
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.