Migration Checklist

find -type f -exec du -Sh {} + | sort -rh | head -n 20
wget https://raw.githubusercontent.com/jeyasys/myscripts/main/wpbackup.sh chmod +x wpbackup.sh ./wpbackup.sh
rsync -avzhe 'ssh -p 22' sshuser@serverip:/home/abc/public_html/ /var/www/webroot/ROOT/ --exclude 'log.txt' --exclude 'wp-content/backups'
rsync -avzhe 'ssh -i /var/www/webroot/ROOT/org_files/ssk_key -p 22' sshuser@serverip:/home/abc/public_html/ /var/www/webroot/ROOT/ --exclude 'log.txt' --exclude 'wp-content/backups'

Or feel free to use this bash script:
wget https://raw.githubusercontent.com/jeyasys/myscripts/main/rsync.sh chmod +x rsync.sh ./rsync.sh
wget https://raw.githubusercontent.com/jeyasys/myscripts/main/find.sh chmod +x find.sh ./find.sh
wget https://raw.githubusercontent.com/jeyasys/myscripts/main/dbsearch.sh chmod +x dbsearch.sh ./dbsearch.sh
wget https://raw.githubusercontent.com/jeyasys/myscripts/main/maint.sh chmod +x maint.sh ./maint.sh

Post Migration

* * * * * wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 # RapydCron - wp-cron |CronTime - everyMinute|Command - wget -q -O - https://domain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

Useful Commands

wp litespeed-purge all
wp cache flush
wp redis flush