October 30, 20169 yr Hey guys back in the day i setup my Docker on a protected disk so i wont loose anything in the event that the disk fails. I've recently found the backup option using Community Applications so i would like to move it back to cache. I'm thinking about installing a 2nd cache drive which would be a flash drive so my two part question is how easy is it to move the dockers back to cache ( i've been only finding guides on setting them up not moving them) and how can i just use the flash cache for the dockers?
October 30, 20169 yr I'm thinking about installing a 2nd cache drive which would be a flash drive so my two part question is how easy is it to move the dockers back to cache ( i've been only finding guides on setting them up not moving them) and how can i just use the flash cache for the dockers? Easiest solution is to install the cache drive, disable the docker service, go to the shares tab and set whatever share you're using for appdata to useCacheDrive=prefer Then run mover. After mover is done, the appdata will all be on the cache drive. Depending upon where your docker.img file is stored, (system folder?) you can do the same thing with its share To leave the cache drive purely as an applications drive, just set all of your other shares to useCache=no As long as all of your docker apps used /mnt/user/WhateverShare for their /config mappings nothing more *should* be required
October 30, 20169 yr Author i was hoping to have two cache drives my original one then a 2nd flash one to be installed and restrict the 2nd one to just dockers, its that possible?
October 30, 20169 yr i was hoping to have two cache drives my original one then a 2nd flash one to be installed and restrict the 2nd one to just dockers, its that possible? To do that, the 2nd one would be classified as an Unassigned Device and would need to be mounted via that Plugin
October 30, 20169 yr I have a somewhat related query. I seem to have Docker stuff all over the place as I've been using it for a little while on gone through a few unRaid updates etc. Essentially, I'd like to consolidate everything into my shiny new Docker share that unRAID 6.2 set up for me. (Is this best practice? Should the Docker image be stored there as well?) Below is my current setup. Before I touch anything, I'd appreciate confirmation that I'm on the right track. I plan to; 1. Backup all Appdata contents 2. Stop Docker 3. Set Docker Storage location to /mnt/user/docker 4. Set Default Appdata storage location to /mnt/user/docker/appdata 5. Copy the existing contents from /mnt/user/appdata/ to /mnt/user/docker/appdata/ 6. Set each individual Dockers data/config directories to /mnt/user/docker/appdata/dockername 7. Delete the current appdata share 8. Cross fingers 9. Restart Docker My current share contents are; /mnt/user/appdata Share (set to cache only - so obviously replicated in /cache/appdata/) -Apache -DuckDNS -emby -HAProxy (uninstalled) -LogitechMediaServer -MQTT -No-IP (uninstalled) -openhab -openvpn-as /mnt/user/docker Share (all disks included, no cache) -nodeRed My current Docker Settings are; Default Docker /mnt/disk4/docker.img Default Appdata /mnt/user/appdata/ Thanks in advance....
October 30, 20169 yr Hey guys back in the day i setup my Docker on a protected disk so i wont loose anything in the event that the disk fails. I've recently found the backup option using Community Applications so i would like to move it back to cache. I'm thinking about installing a 2nd cache drive which would be a flash drive so my two part question is how easy is it to move the dockers back to cache ( i've been only finding guides on setting them up not moving them) and how can i just use the flash cache for the dockers? Which app are you referring to on Community Applications for backing up cache or so?
October 31, 20169 yr Author Hey guys back in the day i setup my Docker on a protected disk so i wont loose anything in the event that the disk fails. I've recently found the backup option using Community Applications so i would like to move it back to cache. I'm thinking about installing a 2nd cache drive which would be a flash drive so my two part question is how easy is it to move the dockers back to cache ( i've been only finding guides on setting them up not moving them) and how can i just use the flash cache for the dockers? Which app are you referring to on Community Applications for backing up cache or so? its part of the CA install..look under settings the the CA section.
November 1, 20169 yr Author got the flash drive mounted but i dont like how it created "New_Volume" would of preferred a disk ID or number of some sort.. can it be changed?
November 1, 20169 yr got the flash drive mounted but i dont like how it created "New_Volume" would of preferred a disk ID or number of some sort.. can it be changed? Yes. Click the name, type a new name, then press enter.
November 1, 20169 yr Author got the flash drive mounted but i dont like how it created "New_Volume" would of preferred a disk ID or number of some sort.. can it be changed? Yes. Click the name, type a new name, then press enter. when i click on it it browses to the share.. i'm guessing i may have to stop the array? I'm gonna try that brb edit: yup.. stopping did it. thanks
November 1, 20169 yr Author well crap ran into another road block.. i cant get to the share from windows explorer is asking for credentials and i cant find the share settings
November 1, 20169 yr Author apparantly it didnt like having the share name the same as the disk.. i changed it to docker and it worked.
November 1, 20169 yr Author well dang... tried a couple of ways to copy my plex server files over but no luck.
November 2, 20169 yr Author ok so mapped the UD share to a drive letter and was able to copy the data over then created new docker img and reinstalled plex and redirected config to the new location and now i'm back up and running. thanks for the help guys, i love how robust everything is! i'm always worried i would loose things and never do.. even when I had a drive crashing the array got back everything with no issues. thanks again.
November 2, 20169 yr Author @SQUID you're a god sent! just got done with my 1st back up with CA! i was a little worried that i would have to do the scripting since as instructed because the UD share wasnt listed but i put in the location and it found it! totally stoked now i can have my dockers running on flash and being backed up every night and not have a disk and parity drive constantly running!
November 2, 20169 yr @SQUID you're a god sent! just got done with my 1st back up with CA! i was a little worried that i would have to do the scripting since as instructed because the UD share wasnt listed but i put in the location and it found it! totally stoked now i can have my dockers running on flash and being backed up every night and not have a disk and parity drive constantly running! So long as no errors happened during the backup, you'll be good to go.
November 2, 20169 yr Hey guys back in the day i setup my Docker on a protected disk so i wont loose anything in the event that the disk fails. I've recently found the backup option using Community Applications so i would like to move it back to cache. its part of the CA install..look under settings the the CA section. Pardon me but i checked the CA settings and i don't see anything about backup or so. If u can post a screenshot of it. Sorry.
November 2, 20169 yr Pardon me but i checked the CA settings and i don't see anything about backup or so. If u can post a screenshot of it. Sorry. Settings Tab... Appdata Backup / Restore (its in the Community Applications Section)
November 2, 20169 yr because the UD share wasnt listed but i put in the location and it found it! I'll have to fix that. Prior to a week or two ago it wouldn't have worked at all, but I made some adjustments to handle appdata being in a subfolder instead of a share by itself, and never thought about UD disks (which were previously not supported at all)
November 2, 20169 yr Author @mickeykool @Squid well i'm super stoked and happy you made those changes. my plex server is flying running as a UD and backing up fine with the changes.
November 2, 20169 yr Thanks guys, i was looking in the CA settings.. not in the settings tab / CA section.. duh me.. Thanks again.
November 2, 20169 yr Author oh man i've been playing around and plex is on fire.. its working much faster now.
Archived
This topic is now archived and is closed to further replies.