I successfully installed nextcloud 14 on a raspberrypi using nextcloudpi and everything was working great until I tried to create a backup with clonepi: https://github.com/SpoddyCoder/clonepi
Both the nextcloud DB and the data were stored on the Pi’s SD card and the idea was to create a complete image (system and data) on an attached USB drive. Here is where I f’ed up. I used the command “sudo clonepi /media/USBdrive/ncp-backups/my-pi.img” to create the image file but did not consider that the destination requires as much space as the source (the SD card has 128GB, the USB drive only 32).
Since the backup I only get a whitepage when I try to access my nextcloud account. I checked the SD card via Putty and all the files were still there but the DB and data directory where pointing to the USB drive so I tried to run nc-database and nc-datadir to reset to the default paths but I still get a whitepage.
Is there any chance to recreate the old setup? I do not have any backups other than the image which I’m sure won’t be usable. Thank you for your support.