• 6 Posts
  • 198 Comments
Joined 2 years ago
cake
Cake day: June 9th, 2023

help-circle



  • I used to use a docker container that makes db dumps of the database and drops it into the same persistent storage folder the main application uses. I use this for everything in docker that had a db.

    Immich as recently integrated this into the app itself so its no longer needed.

    All my docker persistent data is in a top level folder called dockerdata.

    In that I have sub folders like immich which get mounted as volumes in the docker apps.

    So now I have only 1 folder to backup for everything. I use zfs snapshots to backup locally (zfs auto shot) and borgmatic for remote backups (borgbase).

    All my dockers all compose files that are in git.

    I can restore he entire server by restoring 1 data folder and 1 compose file per stack.












  • Others have already answered but this might help understand.

    On cloudflare DNS, I set my domain to point to external IP address my ISP gives me for my router. Ie example.com points to 107.474.274.12

    Within my network, my internal DNS (pi hole) is set to point to the internal IP address of my server. Ie example.com points to 192.168.1.23

    Note that in the first example, the router has port forwarding so that all https traffic (port 443) is forwarded to the internal IP of my server, 192.168.1.23. I’m both example, the traffic ends up in the same place but the route it takes depends on if the traffic starts inside my network (example 2) or outside of the internet (example 1).


  • Just as an FYI its done like this because its vastly faster than flat files.

    This is also the reason why NextCloud has lots of complaints about speed and files getting locked and not syncing properly.

    Apps that are way faster (seafile, owncloud GO) use proprietary file stores.

    Obsidian Live sync works extremely well and quickly to the point that the update speed is almost like a google docs with multiple editors. Couchdb is why.


  • Lol at the obsidian criticisms in the self hosted community :)

    Couchdb is like 20 years old and not exactly ‘novel’

    I setup a docker for his like 2 years ago and did nothing other than update once in that time. Live sync has otherwise been rock solid on multiple devices.

    Obsidian not being open source is very valid criticism. The above 2 things really aren’t.