I am about to move my Nextcloud (snap) installation from a Raspberry PI running Raspian (armv7l, based on Debian 9.9) to a Nano Pi M4 running Armbian (aarch64, based on Debian 9.9 but 64 bits and older kernel). The snap version numbers are identical on source and target.
I have read the maintenance chapter in the Admin manual (backup, restore, migrate) but they are not specifically written for the snap version, and I didn’t find something more specific for my case. I am a seasoned Linux guy so the questions are really related to Nextcloud and MySql, and more specifically to the snap version.
I have written down the specific steps, but I still have a few questions:
- is moving from 32 bits to 64 bits even possible? or should I rather run both instances in // and migrate the files on one client (it’s possible because I mainly use the Files app, but I’d prefer a real migration)
- is there anything specific to update since I am going from 32 to 64 bits?
- do I have to start the target instance once in order to create the SQL tables, or would it be better to start it only after the migration?
- how can I find out if I need to recreate the database with the “CHARACTER SET” option? “status” command in mysql client says “db characterset latin1” so I assume it’s a NO
- why is there no “use nextcloud” in the beginning of the sql dump? is it implicit with creation?
- should I “occ files:scan” after migration to be sure?
Any help is appreciated!