Clokeep Clokeep Docs
Documentation API Reference
Get startedQuickstart
Get started View as Markdown

Quickstart

Run your first backup in about ten minutes.

This guide takes you from an empty panel to a finished backup. You add a server, a storage and a plan, then run the plan by hand.

Prerequisites

  • A Clokeep account with the Admin or Operator role. Sign in at app.clokeep.com.
  • Root access to a Linux server, with outbound HTTPS to app.clokeep.com.
  • A storage for the backups: an S3 bucket, an SFTP server or an FTP server. Both your server and the Clokeep panel must be able to reach it. See Who connects to whom.

Run your first backup

Add a server and install the agent

Open Servers and click New server. Enter a name, such as web-01, and click Create.

The New server form with its name field

A new server needs only a name.

The server's page opens. Under Install agent on this server, click Generate install command. Copy the command with the clipboard button and run it as root on the server.

Reload the server's page. Agent status shows Online once the agent checks in. If it does not, see Install the agent.

Add a storage

Open Storages and click New storage. Enter a Name and pick a Driver: S3, SFTP or FTP.

The connection and credential fields change to match the driver:

  • S3 needs a Bucket, a Region, an Access key ID and a Secret access key. For an S3-compatible service other than Amazon, add its Endpoint too.
  • SFTP needs a Host, a Username, and a Password or a Private key. Leave Host key blank: Test connection fetches the server's key and fills it in.
  • FTP needs a Host, a Username and a Password.

Root path is the folder your backups are written under.

Click Test connection at the top of the page. It tries your settings and tells you whether the storage is reachable. It saves nothing. The test runs from the Clokeep panel, not from your server. A pass does not prove that your server can reach the storage. Then click Create.

A Hetzner Storage Box is SFTP on port 23. Pick SFTP and set Port to 23.

Create a plan

A Files plan backs up the folders you list on the server. Add one first. Open the server's page, choose the Backup Paths tab and click New backup path. Enter an absolute Path, such as /var/www, and click Create.

Open Plans and click New plan. Fill in:

  • Server: the server you added.
  • Name: for example Website files.
  • Type: Files. Leave Backup paths empty to back up every path on the server.
  • Storages: a new plan starts with one storage row. Pick your storage under Storage. Use Add storage only to add a second storage for failover.

Leave Schedule on Manual runs only for now. Click Create. The plan's page opens. The other plan types and options are on Plans.

Run it now

On the plan's page, click Run now. Confirm with Run now in the dialog.

A Backup queued message appears. Click View run in it.

If Run now is greyed out, hover over it to see why. A plan cannot run without an agent on its server, an active storage or something to back up. See Run and stop a backup.

Check the result

The run page shows the run as Queued until the agent picks it up, then Running. The progress card follows each step, from Prepare to Upload and Index. It refreshes on its own.

When the backup is done, the status reads Completed with the message "Backup completed successfully."

The progress card of a completed run at 100 percent

A finished backup run.

Every run is also listed under Backup Runs. If a run ends as Failed, open it. The timeline shows the error, and Logs lists every message the agent sent.

To back up automatically, open the plan, pick a Schedule and click Save changes. Retention, in the same Schedule & retention section, decides when old backups are deleted. See Schedules and retention.

To see what your backup holds, open Browse Backups. Check it now, before you need a restore. See Browse a backup.

On a server without Plesk or cPanel, the agent restores files into /var/lib/clokeep-restore unless you allow other folders. See Allowed folders.

Next steps

Esc
↑↓to navigate↵to openEscto close