d.bech Posted January 18, 2016 Share Posted January 18, 2016 Hey guys I was looking to backup a bunch of stuff to dropbox and after looking about I guessed a docker might do it? I was searching here https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=2&pullCount=0&q=dropbox&starCount=0 and found that there are a bunch of different user made dockers for dropbox. Can anyone recommend one? Quote Link to comment
bigsing Posted January 18, 2016 Share Posted January 18, 2016 I use gfjardim's w/o any issues. Quote Link to comment
CHBMB Posted January 18, 2016 Share Posted January 18, 2016 I use gfjardim's w/o any issues. Do you have to relink it every time you restart the array? If not, would you be kind enough to post your config... Quote Link to comment
karateo Posted January 18, 2016 Share Posted January 18, 2016 I was having the losing link problem, so now I am building a VM (debian and windows until I decide which to keep) for all the missing/problematic dockers (dropbox, jackett and any I find in the future). Quote Link to comment
JorgeB Posted January 18, 2016 Share Posted January 18, 2016 Do you have to relink it every time you restart the array? If not, would you be kind enough to post your config... Mine is working but just installed it for a friend and he is having same issue, what config file do you want me to post? Quote Link to comment
ken-ji Posted January 18, 2016 Share Posted January 18, 2016 Rolled my own - see my sig, but haven't really taken the time to document. Key point about dropbox dockers is that you need to save 3 directories Dropbox - the synced files .dropbox - the config (this keeps the link to your account) .dropbox-dist - the user copy of the app (updates go here, and makes sure you won't have issues with the app version regressing upon startup) Quote Link to comment
CHBMB Posted January 18, 2016 Share Posted January 18, 2016 Rolled my own - see my sig, but haven't really taken the time to document. Key point about dropbox dockers is that you need to save 3 directories Dropbox - the synced files .dropbox - the config (this keeps the link to your account) .dropbox-dist - the user copy of the app (updates go here, and makes sure you won't have issues with the app version regressing upon startup) I'll give yours a whirl then.. Nice little repo you got there mate, you should talk to Squid about getting it on Community Applications.... Quote Link to comment
bigsing Posted January 19, 2016 Share Posted January 19, 2016 I use gfjardim's w/o any issues. Do you have to relink it every time you restart the array? If not, would you be kind enough to post your config... I can't say that i've noticed the issue as i only restart the array when installing new unraid versions. I haven't used my dropbox since moving to 6.1.7, so i'll do some testing tonight and see what happens. Quote Link to comment
CHBMB Posted January 20, 2016 Share Posted January 20, 2016 Rolled my own - see my sig, but haven't really taken the time to document. Key point about dropbox dockers is that you need to save 3 directories Dropbox - the synced files .dropbox - the config (this keeps the link to your account) .dropbox-dist - the user copy of the app (updates go here, and makes sure you won't have issues with the app version regressing upon startup) This is working great ken-ji. Thanks very much for sharing.... Mine is working but just installed it for a friend and he is having same issue, what config file do you want me to post? Thanks johnnie but all sorted now. Much appreciated anyways. Quote Link to comment
ken-ji Posted January 21, 2016 Share Posted January 21, 2016 Rolled my own - see my sig, but haven't really taken the time to document. Key point about dropbox dockers is that you need to save 3 directories Dropbox - the synced files .dropbox - the config (this keeps the link to your account) .dropbox-dist - the user copy of the app (updates go here, and makes sure you won't have issues with the app version regressing upon startup) I'll give yours a whirl then.. Nice little repo you got there mate, you should talk to Squid about getting it on Community Applications.... Lack of time to document and support is one reason I haven't requested to be on the Community Apps. But I'm considering it. Quote Link to comment
CHBMB Posted January 26, 2016 Share Posted January 26, 2016 For anyone interested in using ken-ji's excellent dropbox version, here's how I set it up... (Click the advanced toggle to see all the parameters in the docker setup) Add the repo https://github.com/roninkenji/docker-templates/tree/master/roninkenji Then check the docker container logs for a link to copy and paste to link your dropbox container. Thanks again to ken-ji for creating this.. Quote Link to comment
ken-ji Posted January 28, 2016 Share Posted January 28, 2016 Glad to produced something somebody found useful Quote Link to comment
CHBMB Posted January 28, 2016 Share Posted January 28, 2016 Glad to produced something somebody found useful Useful would be an understatement.... I am most grateful indeed, thoroughly impressed as well.. Quote Link to comment
d.bech Posted January 31, 2016 Author Share Posted January 31, 2016 For anyone interested in using ken-ji's excellent dropbox version, here's how I set it up... (Click the advanced toggle to see all the parameters in the docker setup) Add the repo https://github.com/roninkenji/docker-templates/tree/master/roninkenji Then check the docker container logs for a link to copy and paste to link your dropbox container. Thanks again to ken-ji for creating this.. What if I wanted to specify a share for it to backup? Quote Link to comment
CHBMB Posted January 31, 2016 Share Posted January 31, 2016 What if I wanted to specify a share for it to backup? You could set up a cron job to rsync from the share to your dropbox folder but then you'd end up with two copies of that data on your array. The other way is say you wanted to backup a share called backup.... Then map it directly to the dropbox container... So /dropbox/Dropbox ===> /mnt/user/backup Quote Link to comment
ken-ji Posted January 31, 2016 Share Posted January 31, 2016 CHBMB's got the right idea, but you should remember to be careful if your dropbox already has data, as changing just that mapping will make dropbox think : "oh the files were all changed while I was down" and proceed to nuke your dropbox files What is probably safer is to: # create a empty folder in your Dropbox called backup # then link the share to that, so /dropbox/Dropbox/backup ==> /mnt/user/backup This will allow the contents of the folder to sync to dropbox without messing with your existing files, plus you can sync more than one share this way. Quote Link to comment
d.bech Posted February 1, 2016 Author Share Posted February 1, 2016 CHBMB's got the right idea, but you should remember to be careful if your dropbox already has data, as changing just that mapping will make dropbox think : "oh the files were all changed while I was down" and proceed to nuke your dropbox files What is probably safer is to: # create a empty folder in your Dropbox called backup # then link the share to that, so /dropbox/Dropbox/backup ==> /mnt/user/backup This will allow the contents of the folder to sync to dropbox without messing with your existing files, plus you can sync more than one share this way. Just using symbolic links or is there a better way? Quote Link to comment
ken-ji Posted February 1, 2016 Share Posted February 1, 2016 No symbolic links. In the Volume Mappings of the Dropbox docker, Add entries for /dropbox/Dropbox/share1->/mnt/user/share1 /dropbox/Dropbox/share2->/mnt/user/share2 This will let the shares become available as sub folders in your Dropbox Quote Link to comment
d.bech Posted February 1, 2016 Author Share Posted February 1, 2016 No symbolic links. In the Volume Mappings of the Dropbox docker, Add entries for /dropbox/Dropbox/share1->/mnt/user/share1 /dropbox/Dropbox/share2->/mnt/user/share2 This will the the Share available as a sub folder in your Dropbox ooooh I gotcha, just set that up. looks like it's going great thanks! Quote Link to comment
d.bech Posted February 1, 2016 Author Share Posted February 1, 2016 ken-ji I gotta say this docker as ace. Thanks a bunch man Quote Link to comment
CHBMB Posted February 1, 2016 Share Posted February 1, 2016 ken-ji I gotta say this docker as ace. Thanks a bunch man Yeah, this is way better than gfjardim's version, could never get that to stay linked to my dropbox account accross reboots.. Quote Link to comment
karateo Posted February 2, 2016 Share Posted February 2, 2016 I need a second Dropbox docker for my wife but I can't get them work simultaneously. I have changed the host ports to +1 so there is not overlap there, I used different docker names and folders. One thing I don't know if it needs to change is the advanced user settings Environment Vriables: * DROPBOX_USER: Dropbox user (default: nobody) * DROPBOX_USERID: Dropbox user id (default: 99) * DROPBOX_GROUP: Dropbox user group (default: users) * DROPBOX_GROUPID: Dropbox user group id (default: 100) Now, both dockers can run on their own, but when I try to start a second one it just fails. Here is a part of syslog after I start the second docker Feb 2 15:17:48 TOWER php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'start' 'DropboxTeo' Feb 2 15:17:48 TOWER kernel: device veth347c843 entered promiscuous mode Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth7b45498. Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: eth0: renamed from veth7b45498 Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: veth7b45498: renamed from eth0 Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth7b45498. Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth347c843. Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: device veth347c843 left promiscuous mode Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state settings DropboxEfi roninkenji/dropbox-docker:latest up-to-date 17500/tcp 192.168.1.2:17501 17500/udp 192.168.1.2:17501 /dropbox/.dropbox /mnt/cache/appdata/dropboxefi/config/ /dropbox/.dropbox-dist /mnt/cache/appdata/dropboxefi/app/ /dropbox/Dropbox /mnt/cache/DropboxEfi/ OFF DropboxTeo roninkenji/dropbox-docker:latest up-to-date 17500/tcp 192.168.1.2:17500 17500/udp 192.168.1.2:17500 /dropbox/.dropbox /mnt/cache/appdata/dropboxteo/config/ /dropbox/.dropbox-dist /mnt/cache/appdata/dropboxteo/app/ /dropbox/Dropbox /mnt/cache/DropboxTeo/ OFF Quote Link to comment
d.bech Posted February 2, 2016 Author Share Posted February 2, 2016 I need a second Dropbox docker for my wife but I can't get them work simultaneously. I have changed the host ports to +1 so there is not overlap there, I used different docker names and folders. One thing I don't know if it needs to change is the advanced user settings Environment Vriables: * DROPBOX_USER: Dropbox user (default: nobody) * DROPBOX_USERID: Dropbox user id (default: 99) * DROPBOX_GROUP: Dropbox user group (default: users) * DROPBOX_GROUPID: Dropbox user group id (default: 100) Now, both dockers can run on their own, but when I try to start a second one it just fails. Here is a part of syslog after I start the second docker Feb 2 15:17:48 TOWER php: /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker 'start' 'DropboxTeo' Feb 2 15:17:48 TOWER kernel: device veth347c843 entered promiscuous mode Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth7b45498. Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: eth0: renamed from veth7b45498 Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered forwarding state Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: veth7b45498: renamed from eth0 Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth7b45498. Feb 2 15:17:48 TOWER avahi-daemon[13776]: Withdrawing workstation service for veth347c843. Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state Feb 2 15:17:48 TOWER kernel: device veth347c843 left promiscuous mode Feb 2 15:17:48 TOWER kernel: docker0: port 5(veth347c843) entered disabled state settings DropboxEfi roninkenji/dropbox-docker:latest up-to-date 17500/tcp 192.168.1.2:17501 17500/udp 192.168.1.2:17501 /dropbox/.dropbox /mnt/cache/appdata/dropboxefi/config/ /dropbox/.dropbox-dist /mnt/cache/appdata/dropboxefi/app/ /dropbox/Dropbox /mnt/cache/DropboxEfi/ OFF DropboxTeo roninkenji/dropbox-docker:latest up-to-date 17500/tcp 192.168.1.2:17500 17500/udp 192.168.1.2:17500 /dropbox/.dropbox /mnt/cache/appdata/dropboxteo/config/ /dropbox/.dropbox-dist /mnt/cache/appdata/dropboxteo/app/ /dropbox/Dropbox /mnt/cache/DropboxTeo/ OFF Probably best to creat a new post for this. Doesn't seem related to the initial question here Quote Link to comment
karateo Posted February 2, 2016 Share Posted February 2, 2016 There is a lot of helpful information in here that's not related with the initial question. This is why I thought this is the best topic to ask mine too. I believe it's very common for people to have more than one dropbox account per family. Quote Link to comment
CHBMB Posted February 2, 2016 Share Posted February 2, 2016 You need different ports, different name for each container and different folders. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.