Local Storage
Store backups on the local filesystem of the server running DBackup. Simplest option - no external service required.
Configuration
| Field | Description | Default | Required |
|---|---|---|---|
| Name | Friendly name for this destination | - | ✅ |
| Base Path | Absolute directory path for backups | /backups | ❌ |
Setup Guide
- Go to Destinations → Add Destination → Local Storage
- Enter a name and (optionally) customize the Base Path
- Click Test to verify write access
Docker Users
The Base Path must be a path inside the container. Map it to your host via a Docker volume:
yaml
volumes:
- /host/path/to/backups:/backupsThe default /backups path works with the default docker-compose.yml configuration.
How It Works
- Backups are written directly to the specified directory
- DBackup creates subfolders per job automatically (e.g.
/backups/my-job/) - No network transfer - fastest destination option
- File permissions inherit from the DBackup process user
Troubleshooting
Permission Denied
EACCES: permission deniedSolution: Ensure the DBackup process (or container user) has read/write access to the target directory. In Docker, verify the volume mount and run chmod -R 777 /host/path or use matching UIDs.
Disk Full
ENOSPC: no space left on deviceSolution: Free disk space or mount a larger volume. Use Retention Policies to auto-delete old backups.
Path Does Not Exist
ENOENT: no such file or directorySolution: DBackup creates subdirectories automatically, but the base directory itself must exist. Create it manually or update your Docker volume mount.