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.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-server-dashboard-2.jpg)
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 reachEach 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
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-server-snapshots-2.jpg)
One login per server, rsync onlyThe 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.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-server-browse-2.jpg)
Browse every snapshotOn 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 glanceIs 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, liveFree 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.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-server-servers-2.jpg)
Every server in one listHow 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 anythingThe module is part of CWP. Connect the server once, choose a schedule, and every account is sent: files, MySQL databases, mail and configuration.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-module-admin.jpg)
Set up in minutesAdd 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.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-module-restore.jpg)
Restore the way you needPick 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 dataFewer support tickets: with one switch, every user gets
Restore from Backups in the user panel.
(https://static.cdn-cwp.com/files/cwp/backup-server/img/cwp-backup-module-user.jpg)
Files, databases and mailA 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 accountThe 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 otherIf a hosting server is hackedIt 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 panelDeleting 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 hackedIt 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 restoreRestored 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 works1. Install the backup servercurl -fsSL https://static.cdn-cwp.com/files/cwp/backup-server/install.sh | shOne program with a web panel. It prints the panel address and the admin password.
2. Add your CWP serverIn 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 restoreClick
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.
ScreenshotsDashboardStorage, partitions, load and live sessions.
Snapshots of a serverWhen each snapshot was taken, how much changed and how long it is kept.
Admin moduleConnection, schedule and what to send.
User panelRestore from Backups for the customer.
InstallBackup 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 commandAs root on the backup machine:
curl -fsSL https://static.cdn-cwp.com/files/cwp/backup-server/install.sh | shThen 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 (https://docs.control-webpanel.com/docs/cwp-backup-server/backup-server-installation/).
Free for CWPproCWP 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 (https://control-webpanel.com/cwppro): it works on servers with an active CWPpro license. If a license ends, the backups already stored stay on your backup server.
QuestionsWhere 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 (https://control-webpanel.com/cwppro) · CWP DataCenter Panel (https://control-webpanel.com/cwp-datacenter) · CWP Secure Kernel (https://control-webpanel.com/cwp-secure-kernel) · Documentation (https://docs.control-webpanel.com/docs/cwp-backup-server/)
More information- CWP Backup Server on control-webpanel.com (https://control-webpanel.com/cwp-backup-server)
- CWP Backup Server documentation (https://docs.control-webpanel.com/docs/cwp-backup-server/)
- Installation (https://docs.control-webpanel.com/docs/cwp-backup-server/backup-server-installation/)
Questions about CWP Backup Server? Open a new topic in this board.