Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

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

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

Comments

@jagarapu
Copy link

jagarapu commented Jan 12, 2020

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?

@dizda
Copy link
Owner

dizda commented Jan 13, 2020

Hello,
This library is deprecated, if someone wants to take over I can give maintainer roles.
Thanks.

@jagarapu
Copy link
Author

Thanks for replying

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

No branches or pull requests

2 participants