Replies: 2 comments 10 replies
-
I've never used the Dropbbox Storage (or even Dropbox) myself, so I can't tell if this is a change in API behavior or never worked as documented. Maybe @MaxJa4 who added this knows more about this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've noticed that in the "Configuration Reference" under github.io (link), the example value for DROPBOX_REMOTE_PATH appears to reflect current behavior: # DROPBOX_REMOTE_PATH="/my/directory" Also, there is no accompanying explanation text pointing out a need to include /Apps/appname in the variable (like it happens with the how-to / recipe). |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have set up dropbox for usage with docker-volume-backup today and noticed what appears to be an incorrect (or maybe just outdated because dropbox changed the API behavior, not sure) instruction inside the corresponding recipe/howto:
The dropbox "how-to" (link) states:
Other parameters
Important: If you chose App folder access during the creation of your Dropbox app in step 1 above, you can only write in the app’s directory! This means, that DROPBOX_REMOTE_PATH must start with e.g. /Apps/YOUR_APP_NAME or /Apps/YOUR_APP_NAME/some_sub_dir
As does the related "recipe" while referencing that same environment variable named DROPBOX_REMOTE_PATH
While setting up mine, I scoped permissions only to the app:
Including the absolute path like instructed (/Apps/appname) resulted in this:
I had to change it to DROPBOX_REMOTE_PATH=/diun (a relative path to the app) to achieve what would be the expected outcome:
level=INFO msg="Starting upload session for backup '/tmp/backup-diun-2024-09-16T16-18-37.tar.gz' at path '/diun'." storage=Dropbox
level=INFO msg="Uploaded a copy of backup '/tmp/backup-diun-2024-09-16T16-18-37.tar.gz' at path '/diun'." storage=Dropbox
(Note: I had not yet deleted the path from the previous run while taking the screenshot above)
I have not done this before, but supposedly I could go for a PR to update "docs/recipes/index.md" and "docs/how-tos/set-up-dropbox.md" ?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions