Last modified 16 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.
Related
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.
- Copies all files that should be backed up in a /backup/%y-%m-%d/ folder
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