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

Backup and Logfiles

We decided to root for a backup strategy using online incremental
backups which include the log files (avail since DB v8.2). Now I
wondered, if DB2 automtically deletes the archived logfiles after
executing of online backup using that option or if we still need to
remove them manually.

Regards,
Janick

Nov 24 '06 #1
2 1613
DB2 does not delete log files unless you tell it to. The last thing support
wants is you on the phone saying: The system ate my log files.

The option to include log files basically "copies" the log files that were
active from the start to the end of the backup into the backup images.
They are left in the log path. The last active log file when the backup
terminates is closed at its current size.
This will also cause it to archive if you are using either of DB2UEXT2 or
V8/9 LOGARCHMETH's.
If that is the case, the log files will be in the archive, the logpath and
also in the image.

If you nedd more, get back to me, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ja******@gmail.coma écrit dans le message de news:
11*********************@14g2000cws.googlegroups.co m...
We decided to root for a backup strategy using online incremental
backups which include the log files (avail since DB v8.2). Now I
wondered, if DB2 automtically deletes the archived logfiles after
executing of online backup using that option or if we still need to
remove them manually.

Regards,
Janick
Nov 24 '06 #2
Pierre, thanks for your answer.

I went for setting LOGARCHMETH1 to a dedicated path where the logfiles
will be activated on backup. So we have an easy solution to get the
archived logfiles on a different disk than the active ones, where they
can easily be deleted.

Regards,
Janick

Pierre Saint-Jacques schrieb:
DB2 does not delete log files unless you tell it to. The last thing support
wants is you on the phone saying: The system ate my log files.

The option to include log files basically "copies" the log files that were
active from the start to the end of the backup into the backup images.
They are left in the log path. The last active log file when the backup
terminates is closed at its current size.
This will also cause it to archive if you are using either of DB2UEXT2 or
V8/9 LOGARCHMETH's.
If that is the case, the log files will be in the archive, the logpath and
also in the image.

If you nedd more, get back to me, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ja******@gmail.coma écrit dans le message de news:
11*********************@14g2000cws.googlegroups.co m...
We decided to root for a backup strategy using online incremental
backups which include the log files (avail since DB v8.2). Now I
wondered, if DB2 automtically deletes the archived logfiles after
executing of online backup using that option or if we still need to
remove them manually.

Regards,
Janick
Nov 25 '06 #3

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

Similar topics

1
by: Courtis Joannis | last post by:
Hello readers, my name is Joannis Courtis and I study computer science in Frankfurt/Germany. I hope you can help me, because I try to find a script that helps me to filter logfiles which I...
1
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...
0
by: richardb | last post by:
--=_alternative 002B892D48256D5E_= Content-Type: text/plain; charset="us-ascii" Is it possible to manually delete the logfiles created in innodb tables and then do a 'touch logfilename' to...
4
by: deprins | last post by:
Hello, I have run into some problems with logfiles and backup logfiles (MS SQL server). I have read much about them but uptil now I dont seem to grasp how it works. Specially the part of working...
1
by: Oliver Spiesshofer | last post by:
Hi, I switched the server my webpage was hosted on and now the logfile format is different. the old one are daily logfiles, in the format mydomain.net.access_log.01Feb2004 now I would...
2
by: Burkhard Schultheis | last post by:
We have some problems with DB2 V8 on Linux. DB2 showed SQL 1042. So we restored the last online backup successfully. But because there are only 2 log files rollforward is not possible. Is it...
0
by: Knokmans | last post by:
My config: - using DB2 v9 linux/intel non-partioned - logarchive is done by userexit - archived logfiles are cleared from disk after x hours - no backups are taken from this database, because we...
10
by: Michael Hoffmann | last post by:
Hello, I hope this doesn't come across as totally newbieish, but I've been searching the web and the IBM docs until smoke is coming out of my head. Scenario: We are trying to take primitive...
2
by: clilush | last post by:
I've been working with db2 8.2fp14 for over a year now and was wondering what is a "standard" way of doing a backup to provide 24/7 operations with disaster recovery capabilities? My thoughts were...
0
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,...
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: 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
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
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
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,...

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.