Code Monkey home page Code Monkey logo

docker-postgres-backup's People

Contributors

bwnyasse avatar franklinribe avatar franklinribeiroscielo avatar jmcarbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker-postgres-backup's Issues

Why does readme mention MySQL when this is a Postgres backup image?

There are a couple of mentions of MySQL in the readme that don't seem to make sense.

  • In the PG_HOST variable of the docker run command in the Usage section
  • In the following quote:

Moreover, if you link jmcarbo/docker-postgres-backup to a postgres container (e.g. tutum/mysql)

Shouldn't this suggest a postgres image, and not a mysql one?

Restic password prompt

Hi,

I'm trying to setup the docker-postgres-backup to use Minio as gateway for Azure Blob Storage. I've successfully configured Minio to access my Azure account (I can use it with mc command, even from docker-postgres-backup container).

Now, when I try to run the backup in docker-postgres-backup this is what I get:

root@222ceae8dbd5:/# ./backup.sh                                                
=> Backup started: 2017.05.05.160535.sql                                        
   Backup succeeded                                                             
enter password for repository: 

Whatever I try to enter in the prompt I get the same result:

unable to open repo: wrong password or no key found                             
=> Backup done

I'm not sure what I'm doing wrong. Can you please advise?

For reference, this is the log when starting the container:

5/5/2017 5:55:41 PMazure
5/5/2017 5:55:41 PM<?xml version="1.0" encoding="UTF-8"?>
5/5/2017 5:55:41 PM<Error><Code>AccessDenied</Code><Message>Access Denied.</Message><Key></Key><BucketName></BucketName><Resource>/</Resource><RequestId>3L137</RequestId><HostId>3L137</HostId></Error>6a6d24905ffbf5083e0a4abd532ef1f3
5/5/2017 5:55:41 PMmc: Successfully created ‘/root/.mc/share’.
5/5/2017 5:55:41 PMmc: Initialized share uploads ‘/root/.mc/share/uploads.json’ file.
5/5/2017 5:55:41 PMmc: Initialized share downloads ‘/root/.mc/share/downloads.json’ file.
5/5/2017 5:55:41 PMBucket backup-jiradb already exists
5/5/2017 5:55:41 PMmc: <ERROR> Unable to read from ‘azure/backup-jiradb/restic_password.txt’. Object key is missing, object key cannot be empty
5/5/2017 5:55:41 PM
5/5/2017 5:55:41 PMmc: <ERROR> Unable to read from ‘azure/backup-jiradb/restic_password.txt’. Object key is missing, object key cannot be empty
5/5/2017 5:55:41 PMmc: <ERROR> Unable to read from ‘azure/backup-jiradb/restic_password.txt’. Object key is missing, object key cannot be empty
5/5/2017 5:55:41 PM=> Creating backup script
5/5/2017 5:55:41 PM=> Creating restore script
5/5/2017 5:55:41 PM=> Running cron job

Restore is not working

The restore.sh has a mention to a MYSQL_PORT that doesn"t exist
I will try to make a pull request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.