wiki:SCS_BACKUP_R0
Last modified 16 years ago Last modified on 10/03/08 13:21:22

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Analysis

This task includes backing-up the project data.

Overview

  • Define which files should be backed up.
  • Implement a script for automatic backup.
    • Perform regular back-ups

Task requirements

If the current server crashes, there should be an easy and fast way to deploy the backed up data to an another server.

Implementation idea

A back-up script.

Dzver back-up script. ( Dzver:/backup/go.sh )

How to demo

Present the implemented script and describe what is backed up. Using comments in the script might be useful.

Design

  • Create a script that :
    • Copies all files that should be backed up in a /backup/%y-%m-%d/ folder
      • all backup scripts
      • dan-server:/sophie-project/sophie2/ - the trac project
      • dan-server:/sophie-project/repo/ - the repository
      • dan-server:/etc/apache2/ - apache2 configuration
      • all MySql tables. See Dzver:/backup/go.sh for more information.
    • Creates an ISO file /backup/%Y-%m-%d.iso
    • Burns the image to CD.

Implementation

The script does:

  • Copy backup scripts to the backup folder
  • Copy Trac Project
  • Copy Repository
  • backup tables
  • backup apache
  • write to disc

Make a back up at the end of the sprint. The backup CD is created at 2008-09-30 This information is also included as comments in the script

Testing

Log

Error: Macro Include(wiki:SCS_BACKUP_R0_LOG) failed
current transaction is aborted, commands ignored until end of transaction block