Skip to content
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

How do we know docker-backup is running? #11

Open
itman2000my opened this issue Jun 30, 2017 · 0 comments
Open

How do we know docker-backup is running? #11

itman2000my opened this issue Jun 30, 2017 · 0 comments

Comments

@itman2000my
Copy link

I tried to run yr container and found that the container does not run at all.

Running the below script:
docker run
-v /volume1/docker-backup/config.yml:/etc/docker-backup/docker-backup.yml
-v /var/run/docker.sock:/var/run/docker.sock
akerbis/docker-backup force

docker-backup - docker run
docker containers

CONFIG.YML
destinations:
ftp-postgres: # an id used by sources
type: ftp
server: 192.168.88.25
# container: docker-backup-wmck-db-ftp
compose:
project: dockerbackup
service: ftp_server
container_number: 1
# dockercloud:
# stack: backup
# service: ftp-server
# container_number: 1
port: 21
username: nasbackup
password: nasbackup
path: /Postgres

ftp-postgres-data: # an id used by sources
    type: ftp
    server: 192.168.88.25
    # container: docker-backup-wmck-db-data-ftp
    compose:
        project: dockerbackup
        service: ftp_server
        container_number: 1
    # dockercloud:
    #     stack: backup
    #     service: ftp-server
    #     container_number: 1
    port: 21
    username: nasbackup
    password: nasbackup
    path: /Postgres

#s3: # id used by sources
#    type: s3
#    region: eu-central-1
#    bucket_name: my_corporate_bucket
#    access_key_id: ACCESS_KEY
#    secret_access_key: SECRET_KEY
#    use_ia: true

#c14:
#    type: sftp
#    server: myssh.server.com
#    port: 54415
#    username: c14ssh
#    # password: password
#    path: /buffer

sources:
#test-mysql: # a self-explanatory id
# type: mysqldump
# container: dockerbackup_test_mysql_1
# compose:
# project: dockerbackup
# service: test_mysql
# container_number: 1
# dockercloud:
# stack: test_stack
# service: test_mysql
# container_number: 1
# username: mysql_user
# password: mysql_pass
# databases:
# - test_database
# destination: c14 # id from destinations
# name: dockerbackup_test_mysql

test-fs-postgres:
    type: fs
    container: wmck-db
    # compose:
    #     project:            dockerbackup
    #     service:            test_data
    #     container_number:   1
    # dockercloud:
    #     stack:              test_stack
    #     service:            test_data
    #     container_number:   1
    #volumes:
    #    - /data
    destination: ftp-postgres
    name: dockerbackup_wmck_db

#test-fs-postgres-db:
#    type: fs
#    container: wmck-db-data
    # compose:
    #     project:            dockerbackup
    #     service:            test_data
    #     container_number:   1
    # dockercloud:
    #     stack:              test_stack
    #     service:            test_data
    #     container_number:   1
    #volumes:
    #    - /data
#    destination: ftp-postgres-data
#    name: dockerbackup_wmck_db_data

parameters:
backup_full_if_older_than: 7D
backup_keep_n_full: 5
par2:
enabled: true
redundancy: 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant