CUSTOS

Back up a Linux server over SSH

The CUSTOS Windows client can pull files and database dumps from a Linux server. Use this method when you manage backups from Windows and can set up custos-helper on the server.

Choose what to back up

  1. Create a separate task. On the Sources page, choose Linux server. This server is the sole source for the task.
  2. Enter the SSH host and port. In the office IP field, enter the public address the service will connect from. Separate multiple addresses or networks with commas. A blank field allows the key to be used from any address.
  3. Choose Plain Linux or one of the two ispmanager presets. Review the folders, exclusions and database servers in this window.

Configure and test the connection

  1. Select Create key. The Windows service creates an Ed25519 key pair and keeps the private key.
  2. Copy the entire generated block and run it in a root session on the Linux server. It creates the custos user, installs and verifies custos-helper, grants permission to run the helper and installs the public key.
  3. Select Test connection. Compare the SSH host key fingerprint with the one in the server console before confirming it. The result shows the helper version, detected databases, file count and size.
  4. Keep All databases selected to include databases created in future, or select individual databases. CUSTOS saves your choice with the task.

Try a restore to a separate folder

Choose a destination, save the task and run a test backup. The set includes files.tar, dumps of your selected databases and a manifest named custos-set.json.

Open Restore and choose a separate folder. CUSTOS prepares a tar archive for each source directory, the SQL dumps and a README.txt with commands for the Linux server. For example, files from /var/www are in var-www.tar.