On the *nix, typically the path to perl is /usr/bin/perl. You should verify that with your host.
The easiest way to move your boards between servers is to follow the Guide at
https://www.ubbcentral.com/support/docs/ubbclassic/UBB6_backup_transfer.html