Skip to content
Snippets Groups Projects
Commit 49155c02 authored by Santiago Said's avatar Santiago Said
Browse files

Update README.md

parent 72d9fa22
No related branches found
No related tags found
No related merge requests found
This script allows to fetch a db dump from aws s3 and inject it to your actual environment (Based on your pwd)
To install widely available run:
sudo curl https://gitlab.eynes.com.ar/infra/restoredb/-/raw/master/restorerdb.sh -o /bin/restorerdb.sh && sudo chmod +x /bin/restorerdb.sh
In your bashrc or zshrc set this parameters:
export DB_DEST=devel
export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
To use it go to where you have a doodba environment and do this:
BASE_URL=s3://e2-production/serivet/ ./restorerdb.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment