Backups

The Backups page is where you create, store, and restore backups of everything NexPanel manages. Backups can be created manually at any time, or scheduled to run automatically.

Backups overview

Overview

At the top of the page, three buttons give you quick access to the backup workflows:

  • Create Backup - open the manual backup drawer
  • Backup Configs - create a backup of the websites configuration files
  • Settings - open the backup settings drawer

Below these, seven summary cards show the current state:

  • Total Backups - every backup taken
  • Database Backups - count of database backups
  • Website Backups - count of website backups
  • Config Backups - count of config backups
  • Panel Backups - count of panel backups
  • Auto Backups - backups created automatically by the scheduler
  • Total Size - combined size of all stored backups

Backup List

Each backup row shows:

  • Backup name - includes the source, timestamp, and other identifying info
  • Type badges - one or more, for example Database and Mariadb, or Config
  • Created - when the backup was taken
  • Size - the size of the backup file
  • Created By - which panel user triggered it

On the right, each row has action icons. Available actions depend on the backup type:

  • Restore - restore the backup (Database and Website backups only)
  • Download - download the backup file to your computer
  • Delete - remove the backup from the server

Creating a Manual Backup

Click Create Backup. The drawer asks what to include.

Create backup

At the top, the drawer shows Available Local Disk Space so you can see whether there is room for the new backup.

Below that, three checkboxes:

  • Databases - backup one database at a time. The count of available databases is shown
  • Websites - backup one website at a time. The count of available websites is shown
  • Panel Settings - full panel backup including database, config, SSL, and branding

For Databases and Websites, checking the box expands a list. Pick which database or website to backup.

Click Create Backup to start. The backup runs in the background. When it finishes, it appears in the list.

Restoring a Backup

Restore is available from the action menu on database, panel and website backups.

Click Restore to open the confirmation drawer.

Restore backup

The drawer shows what will be restored:

  • Backup name
  • Type
  • Size
  • Created at
  • The specific database or website it belongs to

The panel checks whether the target still exists:

  • Database exists / Website exists - the restore will overwrite the existing database or website
  • Not found - the target has been deleted. Create the database or website first

Warning

Restoring overwrites the current data. The database or website will be replaced with the contents of the backup. Everything created or changed since the backup was taken will be lost.

Tick I understand this action cannot be undone and click Restore. The restore runs immediately and can take a while for large backups.

Backup Settings

Click Settings to open the backup settings drawer. This is where you configure the backup path, schedule, retention, and remote storage.

Backup settings

Backup Storage Path

The absolute path on the server where backup files are written. Defaults to /opt/backups/nexpanel.

The directory must:

  • Be writable by the panel
  • Have enough free space for your largest backup plus retention

The available disk space on the current path is shown at the top of the drawer.

Automatic Backups

Toggle Automatic Backups on to enable scheduled backups.

  • Backup Frequency - how often to run: Daily, Weekly, or Monthly
  • Time of Day - the time the backup starts
  • Retention Policy - how many days to keep backups before deleting them

Backups older than the retention period are deleted automatically during the next run. Set this based on how much disk space you have and how far back you might need to recover.

Backup Content

Automatic backups always include:

  • Websites - always included
  • Databases - always included
  • Backup Configs - optional toggle, off by default
  • Panel - the panel's own application database and settings. Optional toggle, off by default

Turn the optional toggles on if you want these included in every automatic backup.

Directories Exclusion

A comma-separated list of directory names to skip during backup. Defaults to cache, tmp, logs, vendor.

These directories are usually regenerable or not worth backing up. Excluding them keeps backups small and fast.

Add entries that match your applications, for example node_modules, .git, or uploads/tmp.

Remote Storage

By default, backups stay on the local server. Remote storage uploads each backup to a remote location after creation.

Two options:

  • FTP - standard FTP storage
  • S3 Compatible - any S3-compatible storage provider

Note

S3 Compatible remote storage is a premium feature. It requires an active license.

Configuring Remote Storage

FTP

Choose FTP from the dropdown and fill in:

  • Host
  • Port
  • Username
  • Password
  • Remote path

Use Test Connection to confirm the credentials and connectivity before saving.

S3 Compatible

Choose S3 Compatible from the dropdown.

S3 remote storage

Supports AWS S3, Cloudflare R2, SeaweedFS, Backblaze B2, DigitalOcean Spaces, and any S3-compatible service.

Fields:

  • Endpoint URL - for example https://s3.amazonaws.com for AWS, or your provider's endpoint for others
  • Region - the bucket's region, for example us-east-1. Use auto for providers that do not use regions (Cloudflare R2)
  • Bucket - the bucket name
  • Access Key - the access key ID
  • Secret Key - the secret access key

Use Test Connection to confirm access before saving. The test confirms the connection to the remote S3 storage.

Notes

  • Backups are stored as compressed archives. The type and compression vary based on what was backed up
  • Large database or website backups can take several minutes and use significant disk space during creation
  • Backups include file contents, permissions, and ownership metadata so restores recreate the same setup
  • Remote storage uploads happen after the local backup finishes. The local copy is deleted after upload to the remote server

Warning

Backups on the same server are not a true backup strategy. If the server fails, you lose both your data and your backups. Configure Remote Storage for anything you cannot afford to lose or download the backups to your local PC.

Last updated: September 22, 2026