Iām (one of) the idiot(s) in question. Possibly mostly because I embedded a nextcloudpi setup as mission critical in our small business. Anyway, Iām looking to migrate it to a Rock64 board, which arrived on the doorstep today.
I have a number of backups of the RPi implementation, complete with data. I only have about 50GB total, so I take a backup like that each week (manually because I canāt figure out how to schedule it to run @ 2300 local on a Saturday).
What Iām not sure of is whatās in that backup in terms of config, and what I must do first with the Rock64 before I attempt to restore a backup onto it? Iād be most grateful if anyone could set me straight on these.
IP address. My router keeps 192.168.1.6 for the RPi. Is the backup aware of this and does it need the new machine to also have this IP? Provided I update my port forwarding appropriately, can I keep the Pi up until the R64 is good to go, then āflick the switchā such that the traffic hits 1.7 (for example) instead of 1.6?
Swapfile, database & datadir. These are all on the same physical USB 3 external drive, and Iām pretty sure I remember correctly in that it has separate partitions for them as swap, ext4 and btrfs respectively. Will restoring a backup do all or any of this for me? I realise this is more OS level stuff, but Iām quite the novice with linux. Is simply pulling this disk from the RPi setup and hanging it on the R64 far too ambitious?
Security. Iām sure my user accounts etc are all in the backup, but does it also hang on to its certificates and various security settings as may exist?
Are there questions Iām not asking that I should, and has anyone seen a āmigrating your nextcloud from RPi to R64 explained for eight year oldsā post anywhere?
Thanks for taking the time to read.