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

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

  • Analyzing : Pacitu ( done 25m)
  • Analyzing 2: Deyan (done: 5m)
  • Designing : Pacitu (done 20m)
  • Implementing : Pacitu (done 10m)
    • Review: Milo - 2 - will be ready when the backup is performed (end of sprint is good time for this)
  • Implementing 2 : Deyan (done 20m) The Backup CD was created.
    • Review: 3.5 by todor. The back up is complete.
  • Testing :