I have a setup where the data folder is located on an external drive. The hdd just stopped working - all recovery attempts failed, the hdd is dead. I have a backup on another hdd, which is unfortunately outdated (~1 month) - offsite backup strategy was just in the making . Most files are synced on local desktop clients across my family’s devices.
The database and NC instance running on my homeserver are unharmed as far as I can tell.
What would be a restore strategy to keep the data loss as minimal as possible and not breaking my NC instance?
Can I point the data folder on the backup hdd - even though several files will be outdated? How will NC react to the old files on the backup drive and how will it interact with the desktop clients being up-to-date?
More detailed information about these processes and recommendations for a restoring process are very appreciated.
my apologies for the bad circumstances you join the forum.
first of all you should preserve the existing state - make copies (better images) from what your have (database and config, and client data). another backup of client data is important as this is your last source of the documents created after last backup!
The restore could work like this:
restore the old data to the server
start the server and perform Synchronising with clients after data recovery - in other words run occ maintenance:data-fingerprint which will make the client authoritative and upload new data to the server
hopefully you have the server with current set of data.
After I did another backup on database, config and client data, I did the restoring procedure like described by you. Cloud is up and running again- beside a few conflicts that I had to resolve everything appears to be back to normal again.