Appliance Backup Time Configuration

From Swivel Knowledgebase
Jump to: navigation, search


Overview

The appliance is automatically backed up each night, by default, at 4am. The backup process copies all system configuration and critical files and the PINsafe instance including the PINsafe DB to a backup archive. This document outlines how to change the default backup time.


Prerequisites

  • PINsafe appliance
  • Read the [WinSCP How to Guide] for details on how to get onto the appliance filesystem


Modifying the backup time

In WinSCP, navigate to the /etc/crontab file. Right click the file and click Edit. The contents will look like this:


SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly


The backup is a daily process, hence it is controlled by the entry:

02 4 * * * root run-parts /etc/cron.daily

To change this from 4:02am (see above) to 2:02am (see below) you would change the line to be:

02 2 * * * root run-parts /etc/cron.daily

Be sure just to change this line only and leave all other lines intact. Save the file in WinSCP. You may be prompted for the admin / lockbox credentials again to commit the changes.

The time will take effect immediately and the next appliance backup will be affected.


Options

In addition to storing the backup archive file locally on the appliance, it is possible to configure the appliance to automatically copy the archive to a central FTP server. Please follow Automated_FTP_Backups for details.


Manual Backups

There are manual backup options available:

Backup appliance in full Backup_Appliance Backup PINsafe and PINsafe DB on an Active/Active appliance Backup_PINsafe_on_a_Active/Active_appliance Backup PINsafe and PINsafe DB on an Active/Passive appliance Backup_PINsafe_on_a_Active/Passive_appliance