Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 919 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 919 Bytes

Backup and Restore the osm-seed DB

This container will create a backup of the osm-seed-db and compress according to the current date and then it will upload the backup file to s3 or Google store.

Configuration

In order to run this container we need environment variables, these can be found in the following files👇:

Note: Rename the above files as .env.db, .env.db-utils and .env.cloudprovider

Running the container

  # Docker compose
  docker-compose run db-backup-restore

  # Docker compose
  docker run \
    --env-file ./envs/.env.db \
    --env-file ./envs/.env.db-utils \
    --env-file ./envs/.env.cloudprovider \
    --network osm-seed_default \
    -it osmseed-db-backup-restore:v1