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 > differance between online and offline backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-07, 00:31
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Smile differance between online and offline backup

can one give general differances on online and oflline backup
Reply With Quote
  #2 (permalink)  
Old 07-02-07, 04:00
nick.ncs nick.ncs is offline
Registered User
 
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
The basic difference is during offline backups you cannot access your database.....whereas Online backups can run while the database is still in service,

An offline backup assumes that no user or process is connected to the database except for the one performing the backup. Hence during offline backups no other user can access the DB
Online backups require only that the tablespaces being backed up not have a user (other than the one performing the backup) connected to them.This is especially useful in a production environment where you cannot afford a downtime

Last edited by nick.ncs; 07-02-07 at 04:05.
Reply With Quote
  #3 (permalink)  
Old 07-02-07, 04:37
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
big difference is also for the restore
with offline backup : the database can be made available, even if the log files (created after the backup - for rollfoward) are not available
with online backup : you need the log files, active at backup time to be able to make the database available;
or you have to use include logs with the backup command to be able to leave the rollforward state of the restored database
anyhow : also backup the log files
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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