I make a backup without data every two days and a full backup with all the data every month.
i also have a copy of the sd card
Are you refering to this: How to backup and restore a NextCloudPi instance using ncp config ? If yes, you could use that backup to migarte your current setup, including the database, to a new installation.
-
Create a new backup (clone) of the SD CARD!
-
IMPORTANT: Test if the backup SD-CARD is booting, everything is working and all the data is there.
-
Create a new full backup incl. all the data, as described in the link above.
-
Re-install NCP on your current SD-CARD (or use a third SD-CARD to be extra safe).
-
Restore the backup on the fresh installation
I’ve already used this method, but it doesn’t work, I get an error when restoring ncp-config_XXXXXXXX.tar
The cause for the failure could be the different raspian/Debian versions…
Does that mean I have to update debian first before doing the update procedure?
I’ve updated to debian 11, but there are still a lot of errors.
I give up…