Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Ensure credentials are automatically backed up #33

Open
seanshahkarami opened this issue Sep 5, 2017 · 5 comments
Open

Ensure credentials are automatically backed up #33

seanshahkarami opened this issue Sep 5, 2017 · 5 comments

Comments

@seanshahkarami
Copy link
Member

seanshahkarami commented Sep 5, 2017

We need to make sure critical pieces of credential information are automatically backed up and that we're able to restore the state of beehive from it.

For reference, I have a list of the credentials in use here: https://github.com/waggle-sensor/waggle/wiki/Credentials-Overview

I can't emphasis enough how crucial this is...

@seanshahkarami
Copy link
Member Author

This is important enough that until this is in effect, we should probably hold off on major redesign work on beehive in case something goes wrong.

@seanshahkarami
Copy link
Member Author

I started addressing the backup step with this: https://github.com/waggle-sensor/ansible/blob/master/beehive/backup-credentials.yml

We just need a secure, reliable place to store all of this.

@seanshahkarami
Copy link
Member Author

seanshahkarami commented Sep 8, 2017

I went ahead and included MySQL in this. Currently, all ssh keys, all TLS/SSL and all MySQL tables are archived and backed up using the backup-credentials playbook.

@seanshahkarami
Copy link
Member Author

@geeklair @rajeshxsankaran I just need approval of a secure, reliable location to close this.

@seanshahkarami
Copy link
Member Author

I have a snapshotting job putting a archived copy of the credentials in /digital/backup as backup-%Y%m%d.tar.gz.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant