Do you use backup your configurations? reddit / selfhosted ---------------------------------------------------------------------- imsinghaniya · 2023-11-03 16:12 I was running my YAMS server with its configuration in the Portainers stack editor. After an update, my docker stopped working, and I lost all my config. Luckily, I shared it with a friend a few days back. I think the location of these files should be on the user's land and not along with containers. Not sure if something can be changed for that, but it was not the case by default. ​ I was running my YAMS server with its configuration in the Portainers stack editor. After an update, my docker stopped working, and I lost all my config. Luckily, I shared it with a friend a few days back. I think the location of these files should be on the user's land and not along with containers. Not sure if something can be changed for that, but it was not the case by default. ​ I was running my YAMS server with its configuration in the Portainers stack editor. After an update, my docker stopped working, and I lost all my config. Luckily, I shared it with a friend a few days back. I think the location of these files should be on the user's land and not along with containers. Not sure if something can be changed for that but it was not the case by default. ---------------------------------------------------------------------- thekrautboy · 2023-11-03 16:32 And this happened three times?? ---------------------------------------------------------------------- imsinghaniya · 2023-11-03 17:26 Seems like an editor glitch. Grammarly doesn't work well with reddit. ---------------------------------------------------------------------- stappersg · 2023-11-03 17:40 That _YAMS_ is most likely https://yams.media/ and thanks for telling that such media server install helper exists. ---------------------------------------------------------------------- imsinghaniya · 2023-11-03 17:43 Indeed it's brilliant but that too didn't work out of the box. Had to do a couple of changes. Happy to share my docker setup if you want. Things like setting up VPN and then in my country torrent sites have to load through VPN so that took some work. ---------------------------------------------------------------------- Mintfresh22 · 2023-11-03 18:25 Yes ---------------------------------------------------------------------- Anejey · 2023-11-03 18:55 I backup everything. Since I run Proxmox, I backup the entire Docker LXC everyday, and keep the last 3. It has already saved my ass several times. ---------------------------------------------------------------------- imsinghaniya · 2023-11-03 18:56 What tools do you use for that? ---------------------------------------------------------------------- imsinghaniya · 2023-11-03 18:58 Could you tell more about how you do it? ---------------------------------------------------------------------- Mintfresh22 · 2023-11-03 19:09 I followed this [guide.](https://wiki.opensourceisawesome.com/books/updating-docker- containers/page/update-docker-keep-your-data-too) ---------------------------------------------------------------------- Gunfighteriv · 2023-11-03 22:58 I don’t know about Anejey, but i recently solved the backup issue on my proxmox installation. Proxmox has a built in backup process which I have configured to run at 2100 every night. In the backup configuration, you can trigger a script when it’s ran. With that script, I detect if the backup was successful, start an rclone copy job to Google Cloud Storage, when the rclone job is successful, I rm the local backup files to save space on my boot drive, and finally send a notification via Pushover that the job was successfully ran. On my GCS bucket, I have a three day retention policy to save space. But I’m looking at ways to manually delete files older than three days upon successful backup. That way nothing is automatically cleared if a backup wasn’t successful. ---------------------------------------------------------------------- Minituff · 2023-11-04 02:33 Yes I do. I built a [tool](https://github.com/Minituff/nautical- backup) to make it easy :) ---------------------------------------------------------------------- imsinghaniya · 2023-11-04 02:53 This was quite nice! I think I have to first restructure the data. ---------------------------------------------------------------------- TBT_TBT · 2023-11-04 11:04 Sync to a private GitHub repository. Doesn’t cost a thing and you have versioning. ---------------------------------------------------------------------- imsinghaniya · 2023-11-04 17:33 I read this and loved the way it's being done. ​ One question is - this doc suggests that we backup the folder for the postgres. But the official docs for postgres say use dump etc. Are there any gotchas to be aware of here?