{"action":"opened","issue":{"url":"https://api.github.com/repos/TIGRLab/admin/issues/211","labels_url":"https://api.github.com/repos/TIGRLab/admin/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/TIGRLab/admin/issues/211/comments","events_url":"https://api.github.com/repos/TIGRLab/admin/issues/211/events","html_url":"https://github.com/TIGRLab/admin/issues/211","id":69622286,"number":211,"title":"XNAT backup","user":{"login":"pipitone","id":509382,"avatar_url":"https://avatars.githubusercontent.com/u/509382?v=3","gravatar_id":"","url":"https://api.github.com/users/pipitone","html_url":"https://github.com/pipitone","followers_url":"https://api.github.com/users/pipitone/followers","following_url":"https://api.github.com/users/pipitone/following{/other_user}","gists_url":"https://api.github.com/users/pipitone/gists{/gist_id}","starred_url":"https://api.github.com/users/pipitone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipitone/subscriptions","organizations_url":"https://api.github.com/users/pipitone/orgs","repos_url":"https://api.github.com/users/pipitone/repos","events_url":"https://api.github.com/users/pipitone/events{/privacy}","received_events_url":"https://api.github.com/users/pipitone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-20T16:12:13Z","updated_at":"2015-04-20T16:12:13Z","closed_at":null,"body":"According to Fan from the Stothers' lab: \r\n\r\n> There are two things need to be backed\r\n> up, the postgreSQL table and the filesystem.  The database dump together\r\n> with the filesystem that stores actual images are (tape?) backed up every\r\n> day. We also keep a clone of the XNAT VM image.  Depending on how fast\r\n> [our storage provider] can restore the backup for us, the disaster recovery usually takes up\r\n> to a day.  So yes, the downtime is still considered significant but that\r\n> seems to be the best we can do with the current resources.\r\n\r\nSo, we should look into making sure we have the following backups in place (and, of course, test them. :-): \r\n\r\n- [ ] Backup the VM image\r\n- [ ] Backup the XNAT database (see the [postgres docs on the topic](http://www.postgresql.org/docs/8.1/static/backup.html))\r\n- [ ] Backup the XNAT filesystem"}}