|
|
@ -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 <user-id> > /var/www/nextcloud/data/<user-id>/files |
|
|
|
``` |