Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Upgrading, Downgrading, Backing Up and Restoring Software Files : Scheduling Automatic Local Backups of Configuration Database Files

Scheduling Automatic Local Backups of Configuration Database Files
When you schedule a local backup of configuration database files on the P-7500 system, you automate the backup to occur regularly at a preset date, time, and location. No manual intervention is necessary to initiate the backup.
Scheduling local backups of configuration database files provides these advantages:
When to Schedule Local Backups
It is best to schedule backups at a time when people are not normally using the P-7500 system. Often, system administrators choose to perform backups at the close of the workday or later in the evening.
A backup can be scheduled daily, weekly or monthly. The frequency of changes to information is a good indicator of how often you need to back up data. If the frequency of data revisions is high, then a backup must be scheduled daily, so that potential loss of data is minimal.
Note: By default, no configuration database file backups are scheduled on the P-7500 system.
Scheduled Local Backup Procedure
To schedule automatic local backups of configuration database files on the P-7500 system:
1.
Enter the enable command at the User EXEC Level prompt:
   tibco> enable
   tibco#
The P-7500 CLI is now in Privileged EXEC level.
2.
Enter the configure command at the Privileged EXEC Level prompt:
   tibco# configure
   tibco(config)#
The P-7500 CLI is now in Global CONFIG level.
3.
Enter the schedule backup Global CONFIG command to schedule automatic local backups of configuration database files on the P-7500 system:
   tibco(config)# schedule backup [days days-of-week] times times-of-day [max-backups max-backups]
where:
is either the entry “daily”, or a list of named days from Sunday to Saturday separated by commas with no spaces, or a list of numbers from 0 to 6 representing the named days separated by commas with no spaces, where 0 is Sunday, 1 is Monday, on through to 6 for Saturday. Default is “daily”.
is either the entry “hourly”, or a list of up to four times of day in the format hh:mm separated by commas without spaces, where hh is 0 to 23 representing hours, and mm is 0 to 59 representing minutes.
is the maximum number of scheduled backups to keep, from 1 to 25. When a new scheduled backup causes the number of backups to exceed the set maximum, the oldest backup file is deleted. Default is 5 backups if this parameter is not provided.
 
Note: The no version of this command deletes all automatic file backup schedules and returns the system to its default (that is, no scheduled backups).
For example, to schedule an automatic local backup for 3:00 am daily and then backup your configuration changes, enter:
   tibco(config)# schedule backup days mon,tues,wed,thurs,fri times 03:00 max-backups 10
   This will change the backup schedule
   Do you want to continue (y/n)? y
   tibco(config)# exit
   tibco# exit
   tibco>
4.
   tibco> show backup
   Schedule : Mon,Tue,Wed,Thu,Fri 03:00
   Max Backups : 10
   Previous Autobackup : N/A
   Previous Backup : Thu Mar 03 14:38:07 UTC
   Backup Status : Changed since previous backup
5.
(Optional) To confirm your scheduled local backup was created at the assigned time, enter dir configs at the Privileged EXEC Level prompt:
   tibco> enable
   tibco# dir configs
   -rw-rw-rw- root root 25749320 Dec 13 02:00 autobackup
   -rw-rw-rw- root root 25749348 Dec 12 02:00 autobackup.1
   -rw-rw-rw- root root 25749348 Dec 11 02:00 autobackup.2
   -rw-rw-rw- root root 25749348 Dec 10 02:00 autobackup.3
   -rw-rw-rw- root root 224004 Dec 1 09:53 backup
You have completed this procedure.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved