From 2f8ac5b0237615152cfbbce66cec290e48cc30ef Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Tue, 19 Mar 2024 14:33:03 +0000 Subject: [PATCH] updated README.md --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f68502..281b8bf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,24 @@ -RAD (recursive after date) is a bash script for keeping two big folders in sync, only copying the last changes after a certain date. -Originally it was created to keep a Nextcloud Twin in sync to a running Nextcloud Instance, for fast recovery. +``` + ____ _ ____ +| _ \ / \ | _ \ +| |_) | / _ \ | | | | +| _ < / ___ \| |_| | +|_| \_\/_/ \_\____/ + + +``` + +RAD (recursive after date) is a bash script for keeping two big folders in sync fast. +This is archieved by only copying the last changes after a certain date. +Originally it was created to keep a Nextcloud Twin in sync to a +running Nextcloud Instance, for fast recovery. + +When doing that, keep in mind that decks are not stored in data. +You can periodically export the decks data of each user to its data dir. + +This can be achieved by the command: +``` +sudo -u www-data /var/www/nextcloud/occ decks:export > /var/www/nextcloud/data//files +```