Fastest way to transfer from current to new server

Hi all,

I have a question; what is the fasted way / the best way to transfer all sites from server 1 (current) to server 2 (new) butt also the settings for the apiscp server.

Thanks in advance :slight_smile:

Use the transfer tool. As of v3.2.42, you may specify --all instead of a domain to transfer all non-suspended domains.

To replicate the system configuration, copy /root/apnscp-vars.yml, /root/apnscp-vars-runtime.yml, and /usr/local/apnscp/config/custom to the new server. Run upcp -sbf to update system settings once completed.

oeeeeee :smiley: :smiley:
Can i also set the β€˜stage’ with the --all ?
is there a safe way to test the transfer with out breaking up my current system?

You may specify --all instead of a domain to transfer all non-suspended domains otherwise all regular options apply.

Transfers occur in 2 stages. First stage allows you to preview the domain on the new server. Second stage occurs 24 hours. See β€œMigration internals” section for specifics.

Thanks will try that next weekend :slight_smile: