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

Something went terribly wrong. We could not create a backup. Read your log files to see what caused this error #21

Open
jagarapu opened this issue Jan 12, 2020 · 0 comments

Comments

@jagarapu
Copy link

I am trying to store mongo db backups to google drive I am not sure about adapters

This is my configuration:

dizda_cloud_backup:
output_file_prefix: '%dizda_hostname%'
timeout: 300
processor:
type: zip # Required: tar|zip|7z
options:
compression_ratio: 6
password: '%dizda_compressed_password%'
cloud_storages:
google_drive:
token_name: 'AIzaSyA4AE21Y-YqneV5fG7MPx4TF1LGmuO8' # Required
remote_path: ~ # Not required, default "/", but you can use path like "/Accounts/backups/"
databases:
mongodb:
all_databases: false # Only required when no database is set
database: '%database_name%'
db_host: '%mongodb_backup_host%'
db_port: '%mongodb_port%'
db_user: '%mongodb_user%'
db_password: '%mongodb_password%'

cache_adapter:
providers:
my_adapter:
factory: 'cache.factory.mongodb'

happyr_google_site_authenticator:
cache_service: 'cache.provider.my_adapter'
tokens:
google_drive:
client_id: '85418079755-28ncgsoo91p69but0mipfdocb07.apps.googleusercontent.com'
client_secret: 'qj0ipdwryCNpfbJQbd-mu'
redirect_url: 'http://localhost:8000/googledrive/'
scopes: ['https://www.googleapis.com/auth/drive']

when I use cache.factory.mongodb adapter, redis factory getting something went terribly wrong a

I verified logs getting Command "--env=prod dizda:backup:start" exited with code "1" {"command":"--env=prod dizda:backup:start","code":1} []

I am not sure which adapter needs to use for mongo backups can someone help me?

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