-
Notifications
You must be signed in to change notification settings - Fork 30
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
Question about the usage of some env variables #11
Comments
Here is my commented docker-compose.yml in case it helps anyone else.
|
If and when I would like to propagate deletions from Gmail to my local archive , I can run this command which runs a full sync WITH the "-c yes" option:
You could look at https://github.com/guillaumeaubert/gmvault-docker/blob/master/backup_full.sh if you'd like a report after this manual sync, but this might be a bit beyond me. It might look a bit like:
|
@ovizii Thanks for your docker compose file it helped me but running into auth problems with google. Could you maybe give me a hint on getting that done. The older method with oauth seems to be not working anymore although maybe you can fix it with a work around by setting up a python webserver, which I dont know how to do. Than there is a setting up an app password but not sure how this would be done in docker? Can you help a little |
Unfortunately I can't remember. I remember that these instructions worked: http://gmvault.org/in_depth.html and when I followed this: gaubert/gmvault#335 (comment) I was all sorted. Btw. I am running it on Linux, never needed any Gmail workaround nor anything python related outside these instructions. |
Thanks for your response. |
Sorry, there might have been some confusion. When I said:
I was referring to your comment: I wrongly assumed you might be working with docker on Windows or something as I haven't needed any workarounds. I only followed the two links I gave you and its working just fine. Sorry I can't contribute any more. |
Does this look right inside my docker-compose.yml? Trying to use "-c no" so no emails will be deleted locally to create an email archive.
Is there an option to run a full sync with "-c yes" MANUALLY?
What type of sync does this trigger? I assume it would do a "gmvault sync -t full" as that is the default?
EDIT: I tested it and the sync on startup is a quick sync.
What variables/form can this take? (Answered my own question after looking at Dockerfile. It takes standard cron expressions.)
If I don't want to automatically run
GMVAULT_FULL_SYNC_SCHEDULE
, is there a more elegant manner than setting it to0 5 31 2 *
“At 05:00 on day-of-month 31 in February.” which basically means never?The text was updated successfully, but these errors were encountered: