Opened 13 years ago

Closed 10 years ago

#967 closed enhancement (fixed)

create a backup script for the website

Reported by: wkornewald Owned by: gavin
Priority: high Milestone: Website R2 (Drupal 5)
Component: Website Version:
Keywords: Cc: mphipps
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

It should create daily backups of our DBs and weekly backups of Trac, the repos, and all uploaded website files. Old backups (one month old?) should automatically be deleted.

All backups should be transferred to a backup server. Before transferring the files they should be encrypted with GPG. The private key must not be stored on any of our servers. Only import the public key on the main server (the backup server doesn't need any keys).

Change History (5)

comment:1 Changed 13 years ago by wkornewald

Cc: mphipps added

I already created a script for site5 and I have a GPG key which we could use. The script must be adapted because of different DB names and passwords. Also, files aren't encrypted, yet. The files ("backup_dbs", "backup_files") are in the "backups" folder.

Michael, could you please sign-up for a backup account?

comment:2 Changed 13 years ago by wkornewald

Status: newassigned

Finished most of the backup script. Only encryption and upload to backup server is missing.

comment:3 Changed 12 years ago by gavin

Owner: changed from wkornewald to gavin
Status: assignednew

comment:4 Changed 12 years ago by gavin

Status: newassigned

comment:5 Changed 10 years ago by nielx

Resolution: fixed
Status: assignedclosed

Fixed for dev.haiku-os.org.

Migrating to a new server will mean this will have to be done from the beginning anyway.

Note: See TracTickets for help on using tickets.