Skip to content

Latest commit

 

History

History
 
 

backup-restore

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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