Copyright © 2010 Caringo, Inc.All rights reserved 18Version 2.0December 20103.5.2. Automatic BackupsThe backup utility watches a pre-determined list of CSN configuration files for file metadatachanges. When a change is detected, the utility waits until the changes stabilize to prevent multipleincremental backups in a short time period and then creates a gzipped tar file with a complete set ofall designated configuration files. This tar file is staged locally and then written to the storage clusterfor protection. If for any reason, a backup fails to write to DX Storage, an error will be logged andthe backup will be retried periodically. The UUID of the backup set is also written into the BackupManifest but is not displayed in the user interface. If the Backup Manifest is not retrievable for anyreason, the backup set is written with metadata that allows retrieval from the DX Storage clusterusing DX Content Router. Specifically, the following two headers will be present:CAStor-Application-Automatic-Backup: yesCAStor-Application-Component: savesetThe backup utility will periodically purge backups based on both age and backup count. The utilitywill keep at least 20 backups and, if there are more than 20 backups, it will purge any that are morethan 30 days old.NoteAll backup times are displayed in Universal Time (UTC) and may not, therefore,correspond with the local system clock.3.5.3. Manual BackupsAdministrators may wish to occasionally create a backup manually in conjunction with CSNmaintenance activities (system updates, server downtime, etc). To create a manual backup set atanytime, click the 'Create Backup' button. You will be prompted to enter a description for the backupto allow you to easily identify it in the backup list at a later date. The user interface will confirm thatthe backup request has been successfully received but cannot display errors if the backup failsseveral minutes later. Administrators may wish to monitor system logs for Error messages as aresult. Aside from the manual initiation and description, manual backups are identical to automaticbackups. Manual backups are supported once every 30 seconds.3.5.4. Restoring a BackupTo restore the service configuration files and enabled/disabled status as they existed as part of aspecific backup set, select the radio button next to the desired backup set and click the 'RestoreBackup' button. This will restore all configuration files and each service's status (enabled ordisabled) to their saved state at the time of the selected backup and reboot the server to reinitializethe network with the previous configuration. Following a successful reboot, administrators shouldimmediately restart their DX Storage cluster to ensure the internal networks are aligned and thenode IP addresses are maintained.After upgrade, previous backup sets may be marked as being compatible with a previous softwareversion if the backup format or system layout has been changed. These backups cannot be restoredwith the current version but will remain available if the software is reverted to a previous versionusing the csn-reset functionality.3.5.5. FailoverIf a primary CSN fails, an administrator can choose to promote a secondary CSN to the primaryCSN role by restoring the primary's backup manifest UUID onto the secondary and then restoring