Move cPFence to a new server
Use root on both Enhance servers and keep a private copy of your settings archive. For an in-place v3 upgrade, use Migrate from v3 instead.
Move your settings
Section titled “Move your settings”-
On the old server, create a backup:
Terminal window cpfence --backup-cpf-settings -
Use your secure file-transfer client to copy the reported
/var/cpf_backups/cpfence_backup_*.tar.gzarchive into/var/cpf_backups/on the new server. -
When ready to retire the old installation, uninstall cPFence there. Protection stops on that server.
-
Arrange the new server’s license coverage: Reissue an individual per-server license, sync a per-website license, or ask support to update a bulk license. Then install cPFence on the destination with its key.
-
Restore the copied archive by its exact filename:
Terminal window cpfence --restore-cpf-settings cpfence_backup_YYYYMMDDHHMMSS.tar.gzReplace the placeholder with your filename. Check
cpfence --status, the restored settings, and website health.
Restore applies supported activation settings and verifies runtime, so a separate restart is not normally needed. Keep the original archive until the new setup is checked. For a restore error, follow settings recovery.
