hi rancher community,
im working on a backup strategy for my rancher server and want to ask whats the current state and best practices today.
i would love to hear how you guys handle the backup and if there are already solutions out there to do that.
my setup is a rancheros with rancher on the top (currently for testing everything is on one server for testing).
my target is to be able to backup my server with all settings and data, reinstall and get quick up and running with the latest running state. i try to figure out whats worth to backup and what not, which looks currently like this:
rancheros:
-
/var/lib/rancher/conf/cloud-config.yml
with my rancheros settings
rancher:
/var/lib/mysql
-
/home/rancher
+/root
home folders with settings and scripts … -
/etc/apt/apt.conf.d/proxy
where i setup the proxy settings to get apt working
something else missing here to consider?
rancher stacks:
-
rancher export
backup all my stack settings
how to backup the data of the volumes / data containers?
i could loop through the stacks and export the stuff but is there maybe already a solution available or how do you guys backup your data?
rancher-catalog:
- lives in a git repo so nothing to do here and data gets handled via stack backup strategy
main question is how to deal with the persistent volumes and settings for the services running.
is there already a solution to backup the stacks and volumes to get quick up and running again?
to get stuff out of rancher i read about convoy
with nfs
which looks nice.
is this stuff ready to use so far? are there some examples for a simple setup?
anyway it would be interesting how you guys handle the backup and if you can recommend some ways to think about, useful scripts or tools for backup and your experience with it …
thanks a lot
cheers maik