This page last changed on Oct 16, 2008 by alui.

You can configure Bamboo to automatically create a backup each night, rather than doing a manual export every time.

Before you begin:
  • Bamboo will be unavailable while the backup process completes. Depending on the number of builds and tests, the export may take a long time to complete and may require large amounts of disk space. Please make sure you have enough disk space before proceeding.
  • Bamboo will not export if it detects that plans are currently being built. Please ensure that you do not have plans building (see Viewing Bamboo's Current Activity).
  • There is a bug in Bamboo 1.2 which causes the dependency associations to not be exported along with the plans. If you are using Bamboo 1.2, please upgrade to Bamboo 1.2.1 for a fix.


To specify a backup schedule,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Scheduled Backups' link in the left navigation column.
  3. The 'Scheduled Backups' screen will be displayed Click the 'Edit' button.
  4. In the 'Backup path' field, specify the directory where you want to store your backups. Each backup will be stored as a single file.
    Note that backups may require large amounts of disk space. Please make sure you have enough disk space before proceeding.
  5. In the 'Backup file prefix' field, specify the first part of the filename for all your backup files.
  6. In the 'Backup file date pattern' field, specify the date/time format for identifying your individual backup files. This will be appended to the 'Backup file prefix' to form the complete filename for your backup files, e.g.:
    • if your 'Backup file prefix'  is 'bamboo_backup_'  and your 'Backup file date pattern' is 'yyyy_MM_dd', then your backup file on 31st July 2007 would be named 'bamboo_backup_2007_07_31'.
  7. In the 'Backup Frequency' field, specify how often (in days) you want Bamboo to create a backup, e.g.:
    • specify '1' to create a backup every day.
    • specify '7' to create a backup every week.
  8. In the 'Backup Time field, specify the time of day at which you want Bamboo to create a backup. Use 24-hour format, e.g. to create a backup at 8.30 PM you would specify '20:30'.
    Note that Bamboo will be unavailable for the duration of the backup, so choose a time of day or night when usage is low.
  9. Select the 'Backup Artifacts' check-box if you want to backup your build artifacts.
  10. Click the 'Save' button.
    Your first backup will run when your server's clock matches the time specified in the 'Backup Time' field.

To disable a scheduled backup,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Scheduled Backups' link in the left navigation column.
  3. The 'Scheduled Backups' screen will be displayed, showing your current backup schedule. Click the 'Edit' button.
  4. Select the 'Disable scheduled backups' check-box.
    Your schedule details will be retained, but no automatic backups will be performed.
  5. Click the 'Save' button.


Screenshot: 'Scheduled Backups'


 


Document generated by Confluence on Mar 09, 2009 17:06