![]() ![]() I map that to the docker container in the settings as -v /opt/portainer:/config, since /config is where I know my docker container expects the files to be. So you create a directory on your host system where the docker info for portainer is going to live, in my case, /opt/portainer. For example, let's say you're like me and running the docker container "portainer" to manage your dockers. So the way Docker interfaces with your "host" system is that you have to map your host drives to the docker container. You can have Python 2.7 installed in one container for an older app, and Python 3.x installed in another container for a newer one, without the headaches that would normally bring. OMV is built on top of Debian, for example, but you can run a dockerized app on top of Alpine Linux or whatever. This is a godsend because now you're not managing different apps against different versions of common libraries or even the base system. Rather than try to make your OMV system itself hospitable to each application, the docker system lets you run lots of small, individual systems tailored to the app. Think of each docker container a mini-PC running on your OMV system. The docker plug-in is really just a small plug-in to manage docker containers. , -identity , -webui.listen :) if you don't need additoonal special configuration (see ).Sorry, you'd run chmod as a command from the command line when you SSH into your OMV machine, or use the Shellinabox plugin. chown : /home/.serviceĪfter=network.target network-online.targetĮxecStart=/usr/bin/rslsync -config /etc/resilio-sync/.jsonįor each instance generate a dedicated resilio sync config file /etc/resilio-sync/.json Make the necessary sync directories under each user home folder like mkdir /home//pictures and mkdir /home//music and ensure that they are owned by the user (i.e. I assume that sync directories for each user are under its home directory. You can disable login if you don't want these users to login onto you server by changing "bin/bash" to "/bin/false" for the specific user in the /etc/passwd file. Setup an account for each user on your home server. But it is in configuration mode without a WebUI. I am running several resilio sync instances in parallel on my Ubuntu 20.04 home server. ![]() Perhaps someone else can comment on that? I am not sure about removing the source files once you have moved them to your RAID array. I have a single user case with multiple windows, linux and android clients, so I have my always on Pi hosting a shared folder. Multitple users: You can do this with the Family key, you could then decide on the folder type that would be shared across your users. so all my backups are automated, and up to four months old at any point. Why not run an rsync cron to synchronize/mirror to your RAID array? Or something such as rsnapshot? Backup is accomplished using rsnapshot to save it to a software raid array on a daily basis. You create "myshare" and it would then have a path of "/home/pi/sync/myshare" home/pi/sync:/sync # a shared folder gets stored here. docker/resilio-sync/cache:/downloads # cache dir for partial downloads docker/resilio-sync/config:/config #main program dir where config info is stored on local disk outside of the container I find the docker solution elegant and very simple to replicate on other linux clients. You could run the docker container of resilio sync on each machine (linux) or the regular Windows, MAC clients. The problem I'm having is knowing how to run 4 separate instances - ideally using systemd to auto start them at boot - and how/if to get those instances to run with 4 different users. Moving the files would also then ensure they get cleaned off the source device.ĭoes that make sense or is there a way better way of doing it? i would then do some manual pruning and moving files i really want to keep to a separate folder for backup on a raid disk. Once the instances are running 24/7 (and configured to sync to folders in user's own home directory) then any time one of us opens sync on a device like my phone - it syncs the photos to the linux server. My idea is to have 4 instances of sync running in parallel so they all get their own web-gui as well to help with setup and maintenance. Hi I'm trying to figure out the best way to setup sync on my home linux server so all 4 members of the family have an 'always on' client ready to receive syncs from each persons phone, tablet and pc. ![]()
0 Comments
Leave a Reply. |