Migrate to another RaspberryPi

Copy the WordPress site files using FTP

Start by copying all existing Content files and directories to the new RaspberryPi.

Export your WordPress database within the phpMyAdmin program in your control panel.

Create a new WordPress database on your new host server.

Edit the wp-config.php file to reflect the new database name and user info.

Import your saved database and upload your WordPress files to your new host.

The final step is to point your WordPress site’s domain name to your new host’s nameservers.