Skip to content
CWPControl Web PanelDocumentation
  1. Home
  2. Docs
  3. CWP Backup Server
  4. Adding a CWP server

Adding a CWP server

Updated

Every hosting server gets its own login, its own locked upload area and its own snapshots on the backup server. Adding one takes a few minutes and has two sides.

1. On the backup server

  1. Open Servers → Add server.
  2. Enter a Name (how the server is shown) and a Login name, for example web1.
  3. Under Only accept this server from enter the IP address of the hosting server. This is recommended.
  4. Set the snapshot and retention options (see Snapshots and retention) and a storage quota if you want one.
  5. Save. The panel shows the API token once. Copy it now; it is stored only as a hash. You can always create a new one.

2. On the CWP server

  1. In the CWP admin panel open CWP Settings → CWP Backup Server.
  2. The page shows a public key. Copy it.
CWP Backup Server module in the CWP admin panel: connection, schedule and what to send

3. Back on the backup server

  1. Open the server you added, go to Access and paste the public key under SSH public keys. Save.

4. Connect

  1. In the CWP module enter the Backup server address, the Login, the API token and the two ports (2222 and 2380 unless you changed them).
  2. Click Connect. The module checks the rsync connection and the API, and remembers the SSH host key and the certificate of the backup server.

Note: If the connection is refused, check that ports 2222 and 2380 are in TCP_OUT of CSF on the hosting server and that the IP limit on the backup server holds the right address.

What the module remembers

The SSH host key and the certificate of the backup server are stored on the first connection. If one of them changes later, the module stops and tells you, because that can mean someone is in the way. If you reinstalled the backup server yourself, use Change and connect again.

Password or key

The CWP module signs in with its SSH key. A password for the server login is not needed; you can remove it on the backup server under Access.