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.