He set it up as a docker app using portainer This other youtuber uses duplicati (if you don't want to use QNAPs HBS). not sure which is better though (only tested resilio so far)īacking Up My Home Server Files - Setting Up Syncthing Other qnappers using resilio or thinking toĪlternative to resilio is syncthing. Resilio qpkgs can be found here (i'd probly use the docker app though) ![]() Hopefully this helped someone else, if you are wondering how to backup your docker apps, and how to restore them So don't make the same mistake i did, otherwise you will have to reset your nas as well (took me 1-2 days to get everything setup back again ) I removed qnet network to test, and this broke static ips when setting up using container station. careful when messing around with portainer. If for some reason you felt the app is not working correctly, you can remove the container, then redeploy the stack or. ![]() So you have to manually restart them (i had to stop/start), for the docker app to work again.ĥ. the docker apps after recovery will show active (but they are not). And as i've shown, these templates of docker compose for your apps can be recoverable as i've proven.Ĥ. highly recommended to use docker compose and save custom templates. whenever installing dockers, ideally set a folder location for the config for that app to be persistent.Ģ. So in summary, what did we learn here, what to do to backup your docker apps? (at least in this setup i'm using as an example) and restore?ġ. What this means is i successfully backed up and recovered my docker app in portainer. In my docker compose it already pointed to the persistent folder, so all my dashy docker app settings were same as before. I tested this with dashy docker compose, and my dashy worked. If that doesn't show the app in container (in portainer), then just redeploy the stack or just edit/recreate the docker app in container. So what i did here was, stop the stack, then start it again. The stacks show it's running, but it's not. But the custom templates and stacks are all there. Then from here i see that the docker apps are all missing. Your previous portainer config should still work. Don't simply do it if there is no reason for it *only reset/reinitialize NAS if you have to. Use hybridbackupsync to recover from backup (my backup was a tl-d400s) Next i setup the 4hard drives as thick volume (volume2) in a pool.). i had 2 ssds so i setup a static volume using 2 ssds in raid1 (volume1). So if you want to setup system on ssd, set that up first. usually it will be listed in qfinder or the sticker on your nas then follow through setup process for setting a new nas (the first volume setup will be used for the system fyi.ĭefault password for the QTS/QUTS HERO admin web UI is the 1st mac address (find this from qfinder). Qfinder will detect and ask for smart install for an uninitialized NAS, click yes. this wipes out the previous setup on the SSD (system) then do a ssd erase from within qts as well. my ssd was used as a pair raid1 volume (for the system). also make sure u have the qfinder app installed on your desktop client pc.įor hdd raid, remove pool/volume. Make sure i'm on the latest stable firmware first. So this guide will be based around the setup i am using.įirstly, make sure you backup to a separate storage device. i setup my docker apps using portainer using docker compose (custom templates/stacks) i am using container station v3 beta to install portainer (stable version for cs is v2)Ģ. If i made any mistakes or overlooked something, feel free to provide correction, thxġ. ![]() It's for those wondering what to do if they need to backup and restore their docker apps after reinitializing their nas. ![]() I'm just sharing my own experience and hurdles so u can do the same or do better I will walk through the process how i backup and recovered (everything tested and verified by myself ) To recover i had to reinitialize the QNAP nas and start from scratch. it was probably my own fault for messing with some settings i shouldn't have. the set static ip in cs v3 no longer worked and it was buggy (it had previously worked fine before). I had recently encountered a catastrophic mess with docker.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |