I’ve got a snap install, and have done a backup using “nextcloud.export” - I get a “backup/export” directory which appears to have all the data and DB in it.
I’ve got a new install - Docker from NC and I want to put that “export” into it.
I thought using the web UI, putting that backup directory in a folder called “borg” and doing a “restore” in the Web UI would do it.
But nope.
I get this in the logs.
A ‘borg’ directory was found but could not find the borg archive.
Only the files/folders below have been found in the borg directory.
.
…
apps
config.php
data
.sql
format
The archive and most importantly the config file must be positioned directly in the ‘borg’ subfolder.
I suspect there is a post somewhere that would enlighten me, but my search-foo is weak and I’ve been unable to find anything.
I did, and they say they have to be the same - but 24.0.7 seems like a completely different version numbering scheme than 3.1.0 - so either 3.1.0 is really something like 30.1.0, or trying to compare 3.1.0 to 24.0.7 doesn’t make any sense anyway - that’s why I asked.
Ah, I see now - you point the version lookup at the git - so what’s running in docker should match what’s in git (provided it’s up to date, which it is.) [I’m no docker guy, so that was confusing.]
Ok, well, it looks to be the same version - but one is MySQL and AIO wants PSQL. I guess I get to see how much the users want their old data, or since it’s a test build, if we just start over. It just gets more complicated…
Ah I see. This is something I did not anticipate. So it seems like a database migration with the snap is not possible since it is read only (you cannot install the php-psql extension). Thanks for testing anyways!
I am now thinking about ways to make this possible somehow but this will take a while.