Support large storage and backups of servers in the validation lab
Headline:
Additional storage is now available in the lab for backups, tests with large content, and caching.
User Stories:
As a validation lab administrator, I would like to restore back to full operation quickly in the event of a drive/server failure.
* Online/offsite backup
Noted that even if we lose everything, it can in theory be re-created, so local 2TB storage would be fine.
ACTION: James T and Dave to look at storage options
Blueprint information
- Status:
- Complete
- Approver:
- Paul Larson
- Priority:
- Medium
- Drafter:
- Dave Pigott
- Direction:
- Approved
- Assignee:
- Dave Pigott
- Definition:
- Approved
- Series goal:
- Accepted for linaro-11.11
- Implementation:
- Implemented
- Milestone target:
- 2011.08
- Started by
- Paul Larson
- Completed by
- Paul Larson
Related branches
Related bugs
Sprints
Whiteboard
Status:
[pwlars 20110808] Dave, can you update this please? I think we have progress here.
[dpigott 20110815] Created three partitions:
valetc - for validation server etckeeper backup
valdata - for validation farm database backup
backup - for general "other" use.
Mounted on validation server (through fstab) as:
/mnt/
/mnt/
/mnt/
Added a line to /etc/etckeeper/
Made a /etc backup by doing a bzr push to valetc to create a new repo copy
Tested it by making a change to /etc/hosts and forcing etckeeper to update. Backup on NAS01 also updated.
etckeeper runs a daily commit, and we should just simply follow this regime
[dpigott 20110815] Added validation db backup
Added a cron job on user postgres to do a complete, timestamped daily backup at 6am onto the valdata partition
Did a manual first backup.
Tested that cron tab works properly, daily backups initiated, 30 day rolling schedule i.e. any backup older than 30 days is removed.
Changed to use cron.daily, which runs at 6.25am every day
Work Items
Work items:
Research NAS options, decide on one, and order it: DONE
Configure NAS appliance: DONE
Plan partitioning, and configure server to make use of NAS: DONE
Make initial backup: DONE
Establish backup plan, schedule, and automation: DONE
Dependency tree
* Blueprints in grey have been implemented.