To perform synchronization between directories using rclone. This script is boring, and it shouldn't even exist, but there is an interesting story behind it.
New synchronization solution is described in Back up with rclone and alist.
-
Configure paths to be synchronized in
${HOMELAB_HOME}/sync/config
, one path per line. -
Run script to synchronize:
sh ${HOMELAB_HOME}/sync/sync.sh
Operate ray through CLI, and run ray as a background service.
-
Read comments in
${HOMELAB_HOME}/ray/config.sh
and set the relevant values. -
Run
./ray.sh -h
.
- Update geo data on time.
0 10 * * * ${HOMELAB_HOME}/ray/ray.sh urd
- detect network status every minute
* * * * * ${HOMELAB_HOME}/ray/ray.sh detect
I use Minikube as development environment.