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 > automatic maintenance - backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-20-11, 22:26
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
automatic maintenance - backup

Automatic backups are configured to occur daily (criteria details = maximum time between backups is 1 day). Does this mean that db2 will perform them daily or only if db2 determines that a backup is required?
Reply With Quote
  #2 (permalink)  
Old 03-21-11, 03:46
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
At least daily. DB2 may take 2 Backups a day, if it determines to be necessary.
Reply With Quote
  #3 (permalink)  
Old 03-22-11, 20:32
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Have you used this auto maintenance option before? Do you find it's working the way it should?

I got the output from sysproc.automaint_get_policyfile and it's configured to occur daily, but it's not happening and no errors in the diag.log:

From sysproc.automaint_get_policyfile:

<!-- Backup Options -->
<BackupOptions mode="Online">
....

<!-- Frequency of automatic backups -->

<BackupCriteria numberOfFullBackups="1" timeSinceLastBackup="24" logSpaceConsumedSinceLastBackup="2560"/>
Reply With Quote
  #4 (permalink)  
Old 03-22-11, 20:42
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Doesn't the policy details appear in any control center GUIs? It may be easier to 'read' all related config off a GUI than from xml
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 03-22-11, 20:45
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #6 (permalink)  
Old 03-22-11, 20:54
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Maybe... I just don't like to use any GUI tools.

And I don't think there is a way to specify/modify some of the BackupCriteria when using GUI - for example: logSpaceConsumedSinceLastBackup
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