New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

CWP Backup Server: overview, screenshots and documentation

Started by Administrator, Today at 09:42:58 PM

Previous topic - Next topic

Administrator

Free for CWPpro servers: protected backups of all your CWP servers on a separate machine. Snapshots that a hosting server cannot delete, restore of files, databases, mail and whole accounts in the admin and user panel.

Free for CWPpro servers. CWP Backup Server stores the backups of all your CWP servers on a separate machine and keeps protected snapshots that a hosting server can never change or delete. Restore a file, a folder, a database, a mailbox or a whole account from the CWP admin panel, and let your customers restore their own data in the user panel.



Free: backup server with every feature, no limit on servers, accounts or snapshots
Protected: a hacked or wiped hosting server cannot delete or change its earlier backups
Only changes: are sent and stored, so many versions take little space and frequent backups are cheap

Backups that ransomware cannot reach

Each CWP server sends to its own upload area. The backup server turns every finished upload into a read-only snapshot.

  • A hosting server can write only to its own upload area, never to a snapshot
  • Unchanged files are shared between snapshots: every snapshot is a full backup, only changes take space
  • Retention per server: latest, hourly, daily, weekly and monthly snapshots
  • Lock a snapshot so nothing removes it, and undo a deletion for a number of days
  • Alert and automatic lock when most of a backup suddenly disappears
  • Alerts by e-mail, Telegram or webhook: nothing received, snapshot failed, quota reached, storage almost full



One login per server, rsync only

The hosting server signs in with an SSH key to a built-in service that can start rsync and nothing else: no shell, no terminal, no port forwarding. Each session is locked into the upload area of that server.



Browse every snapshot

On the backup server, open any snapshot by hosting account and download a file, or a folder as a tar with the original owners.

See everything at a glance

Is there room for tonight's backups, which servers are sending right now, and is any hosting server running out of disk? The dashboard answers without a click.

Storage and load, live

Free space of the backup storage and of every partition, with a warning before it fills up. CPU, memory, disk I/O and network charts of the last 15 minutes, and every backup session that runs right now.



Every server in one list

How much space the backups of each server take, in percent of its quota, and how full the disks of the hosting server itself are. The CWP module reports it with every backup.

Send everything, restore anything

The module is part of CWP. Connect the server once, choose a schedule, and every account is sent: files, MySQL databases, mail and configuration.



Set up in minutes

Add the server on the backup server, paste the key the module shows, enter the address and the token, and click Connect. Send once a day or every hour, leave out folders or accounts, limit the speed.



Restore the way you need

Pick an account and a snapshot, browse it, and restore a file, a folder, a database, a mailbox or the whole account. Put it back in place, replace a folder exactly, or restore into a separate folder and compare.

Customers restore their own data

Fewer support tickets: with one switch, every user gets Restore from Backups in the user panel.



Files, databases and mail

A user picks a day, looks through the files, databases and mail as they were then, and brings back what they need. The current database is saved first, so a restore can be undone.

Only their own account

The user panel gets a short-lived token from the backup server that can read one account only. A user cannot see or restore anything of another account.

Neither side has to trust the other

If a hosting server is hacked

It can damage its own upload area, and nothing else. Existing snapshots stay as they are, other servers are invisible, and its API token can only read.

If someone gets into the panel

Deleting or unlocking a snapshot, removing a server and changing retention or notifications ask for the password again and send an alert. A deleted snapshot waits for days before it is really removed, and that waiting time cannot be shortened on the spot.

If the backup server is hacked

It holds no credentials of your hosting servers. On restore, files are written as the account's user, never as root; database dumps are checked against a signed checksum and imported with rights on that one database only.

Malware scan on restore

Restored files are scanned with ClamAV. Infected files go to a quarantine folder and are listed in the restore task, so an old infection does not come back with the backup.

How it works

1. Install the backup server

curl -fsSL https://static.cdn-cwp.com/files/cwp/backup-server/install.sh | sh
One program with a web panel. It prints the panel address and the admin password.

2. Add your CWP server

In the backup server panel: Servers → Add server. In CWP: CWP Settings → CWP Backup Server, paste the address, the login and the token, and click Connect.

3. Send and restore

Click Send now or turn on the schedule. From then on every run is a new protected snapshot you can restore from, in the admin panel and in the user panel.

Screenshots

Dashboard

Storage, partitions, load and live sessions.

Snapshots of a server

When each snapshot was taken, how much changed and how long it is kept.

Admin module

Connection, schedule and what to send.

User panel

Restore from Backups for the customer.

Install

Backup server

  • Its own Linux machine or VPS with systemd, x86-64 or arm64
  • A large disk for the backups, XFS or Btrfs recommended
  • TCP ports 2380 (panel, API) and 2222 (rsync)
  • Nothing else needed: one program, rsync is installed for you

Install command

As root on the backup machine:

curl -fsSL https://static.cdn-cwp.com/files/cwp/backup-server/install.sh | sh
Then open the panel address it prints, change the password and add your first server. Updates are signed and installed from the panel.

CWP servers

  • A CWPpro license
  • Current CWP: the module is in CWP Settings → CWP Backup Server
  • Outgoing ports 2222 and 2380 to the backup server (CSF: [tt]TCP_OUT[/tt])

Full guide: docs.control-webpanel.com.

Free for CWPpro

CWP Backup Server costs nothing, with every feature and no limit on the number of servers. The module in CWP that sends to it and restores from it is part of CWPpro: it works on servers with an active CWPpro license. If a license ends, the backups already stored stay on your backup server.

Questions
Where should I install the backup server?
On its own machine or VPS, not on a hosting server and best at another provider or location. It holds a copy of everything, so nothing else should run on it.

How much disk space do I need?
Roughly the size of your accounts plus the changes for as long as you keep snapshots. A file that did not change is stored once, however many snapshots hold it.

Does it replace the backup built into CWP?
It works next to it. You can keep the local CWP backup and add CWP Backup Server for protected copies on another machine and for restore from many versions.

Can a customer restore without asking me?
Yes, if you turn it on. Users restore their own files, databases and mail from any snapshot in the user panel. Restoring a whole account is for administrators.

Is the data encrypted?
The transfer is encrypted (SSH and HTTPS). On the backup server the data is stored as files, so use disk encryption there if your policy asks for it, and limit the panel to your own IP addresses.

What is not included yet?
PostgreSQL and MongoDB databases, recreating an account that no longer exists on the hosting server, and copying snapshots to a second backup server.

Related: CWPpro · CWP DataCenter Panel · CWP Secure Kernel · Documentation


More information
Questions about CWP Backup Server? Open a new topic in this board.