Volume Backups
Back up App and Box volume mounts to a storage provider as a mirror or as compressed archives.
Easypanel can schedule backups of named volume mounts attached to App and Box services. Volume backups protect persistent application data such as uploads, generated assets, and user-managed files.
Only Volume mounts are available. Bind and File mounts are not included and need a separate recovery plan.
Backup modes
Every volume backup configuration has a Mode:
| Mode | What each run does | History |
|---|---|---|
| Sync | Makes the destination path match the volume. Only changed files are copied. | One copy: the latest state |
| Archive | Uploads a full compressed .tar.gz snapshot of the volume, named after the run's start time. | One archive per run, up to Retention |
New configurations default to Sync. Configurations created before archive mode existed also use Sync.
Sync
Sync is fast and uses little storage, because each run only transfers what changed since the last one.
A sync backup is a mirror, not a timestamped snapshot. A later run updates changed files and deletes destination files that no longer exist in the source volume, so a file deleted or corrupted in the volume is gone from the backup after the next run.
Use provider-side versioning, snapshots, or lifecycle rules when you need older versions of a sync backup.
Archive
Archive mode writes a new file at the destination path on every run, such as:
<destination path>/2026-11-20T02:00:00.000Z.tar.gzEach archive is a complete, compressed copy of the volume, so you keep several restore points while using less storage than an uncompressed copy. Every run uploads the whole volume, so it takes longer and uses more bandwidth than a sync run.
Retention is the maximum number of archives to keep. After a successful run, Easypanel deletes the oldest files at the destination path until only that many remain. Leave it empty to keep every archive.
Retention counts and deletes every file in the destination path, not only the archives Easypanel created. Give each archive configuration its own path and store nothing else there.
Create a volume backup
- Add a Volume mount to an App service's Storage tab or a Box service's Mounts section.
- Deploy or rebuild the service so that the mount is active.
- Configure a destination under the server's Settings → Storage Providers.
- Return to the service's storage or mounts section and open Volume Backups.
- Create a backup configuration.
- Select the volume, enable the configuration, and choose a schedule preset or enter a cron expression.
- Select the storage provider and enter a unique destination path.
- Choose a Mode. For Archive, optionally set Retention.
- Save the configuration.
- Open its actions menu, select Manual Run, and review Volume Backups Logs.
- Confirm the expected files at the destination.
The default schedule is daily at 02:00:
0 2 * * *Cron schedules follow the server's time. Schedule large volumes outside peak traffic and leave enough network bandwidth and destination capacity for the backup, especially in archive mode, where every run uploads the full volume.
Consistency
Files can change while a volume backup is running. In archive mode, Easypanel
still finishes the archive and writes Warning: some files changed while they were archived to the log. The changed files may be captured mid-write.
For data that requires a consistent point in time, stop writes or put the application in maintenance mode before a manual run.
Do not use a volume copy of a live database data directory as a substitute for a database dump. Database engines may have in-memory or partially written state that makes copied files unusable. Use Database Backups for MySQL, MariaDB, PostgreSQL, and MongoDB.
For a WordPress site, protect both:
- its MySQL or MariaDB database with a database backup;
- uploads and other persistent files with a volume backup or a provider that already stores them externally.
Restore volume data
Easypanel does not currently restore a volume from the interface. Recovery is a manual operation:
- Identify the correct service, volume, destination, and recovery point. In
archive mode, pick the
.tar.gzfile whose name matches the time you want to return to. - Stop the service or otherwise prevent writes to the target volume.
- Take a safety copy of its current contents.
- Copy the backup data from the storage provider into the intended volume,
preserving the directory structure and required ownership. Extract an
archive with
tar -xzf <archive>.tar.gz -C <volume directory>; its contents are relative to the volume's root. - Start the service.
- Verify expected files, permissions, application behavior, and a representative write.
The exact restore method depends on the storage provider and server access. Test it with non-production data before relying on the backup.
Edit or remove a configuration
Editing the provider or destination path makes future runs write to the new location. It does not move data from the previous destination.
To change the mode, also change the destination path. Easypanel rejects a mode change on the same path, because a sync run would delete the existing archives and archive retention would delete files from the mirror.
Removing a configuration stops its schedule and removes it from Easypanel. It does not delete the backups already stored at the destination.
Troubleshooting
When a volume run fails:
- Open its entry under Volume Backups Logs.
- Confirm that the selected volume still exists on the service.
- Confirm that the storage provider still exists and is connected.
- Check provider permissions, destination capacity, and network access.
- Verify the enabled state, cron expression, and server timezone when a schedule does not start.
- Run the configuration manually after correcting it.
If a bind mount contains important data, back up its host path with a separate server-level tool. A bind mount will not appear in the volume selector.