-
Notifications
You must be signed in to change notification settings - Fork 0
add optional GPG symmetric encryption and MongoDB support #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
1dc718a to
f622161
Compare
a7bfe7f to
4fa2907
Compare
|
|
||
| ``` | ||
| heroku config:add HEROKU_API_KEY=`heroku authorizations:create -S -d my-database-backups` -a my-database-backups | ||
| heroku config:add HEROKU_API_KEY=`heroku authorizations:create -S -s read -d my-database-backups` -a my-database-backups |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not work : 403 error
bin/install_aws.sh
Outdated
| @@ -0,0 +1,9 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO : check if there is a buildpack to add aws cli tools
37db42b to
b3427a7
Compare
gdufloux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mise à part l'install local de awscli qu'il me semble qu'on perd au passage, RAS.
y'a plus qu'à test que ça fonctionne :)
bin/backup.sh
Outdated
| #install aws-cli | ||
| curl https://s3.amazonaws.com/aws-cli/awscli-bundle.zip -o awscli-bundle.zip | ||
| unzip awscli-bundle.zip | ||
| chmod +x ./awscli-bundle/install | ||
| ./awscli-bundle/install -i /tmp/aws |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toujours utile pour du test local tout de meme non ?
gdufloux
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo sur KEEP_ONCE_BACKUP_PER_DAY
|
|
||
| BACKUP_FILE_NAME="$(date +"%Y-%m-%d-%H-%M")-$APP-$DATABASE.dump" | ||
| if [ $KEEP_ONE_BACKUP_PER_WEEK != false ]; then | ||
| BACKUP_FILE_NAME="$(date +"%Y-%U")-$APP-$DATABASE.dump" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ou %W si tu veux Week number of the year. Week starts with Monday
bin/backup.sh
Outdated
|
|
||
| if [ $KEEP_ONE_BACKUP_PER_WEEK != false ]; then | ||
| BACKUP_FILE_NAME="$(date +"%Y-%U")-$APP-$DATABASE.dump" | ||
| elif [ $KEEP_ONCE_BACKUP_PER_DAY != false ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
KEEP_ONCE_BACKUP_PER_DAY -> KEEP_ONE_BACKUP_PER_DAY
a1c5c18 to
d78055a
Compare
1282c0d to
608be14
Compare
4ab756a to
35ff770
Compare
No description provided.