Data and maintenance
The Activity Log, scheduled backups and the Backups manager, restoring a backup, statistics snapshots and the database reset in DownloadPulse.
- Desktop
- Server
On this page
The Settings › Data & Maintenance tab looks after what DownloadPulse keeps: its event history, its backups and its statistics snapshots. It’s also where you reset the database. Everything on this tab is for Admins. The same tab exists on the desktop app and on a server, with a few desktop differences noted below.
The tab has three cards:
- Event Logging
- Backups & Retention
- Database Reset Controls
Note: Event Logging, Database Reset Controls, the Activity Log, and the Additional Backup & Retention Settings are part of the Advanced presentation. In Easy they’re hidden, but they keep working with their saved values: events are still recorded, and backups and snapshots still follow their schedules. Choose Advanced in My Account to see them.
The Activity Log and Event Logging
Link to this section: The Activity Log and Event LoggingDownloadPulse records an event for what happens to downloads and to its configuration. This covers transfers, routing decisions, recovery, storage, extraction, settings changes and more. The events appear in the Activity Log, which you open from the sidebar under Review. It’s Admin only.
In the Activity Log you can:
- filter by Time Window, Severity (Info, Warning, Error) and Event Type
- search for a name or a transfer ID
- expand Details on an event for more information
The Event Logging card has two fields:
| Field | What it does |
|---|---|
| Activity Log Page Size | How many events one Activity Log page shows: 50, 100 (the default) or 250. It changes nothing that is recorded. |
| Recorded Events | Read-only. The number of events currently kept. |
Events are kept indefinitely. There is no retention setting for them: only a database reset clears them.
Backups & Retention
Link to this section: Backups & RetentionA backup holds three things, and is stored in the Backup Folder:
- the database
- the configuration
- an uploaded avatar, if there is one
The database includes every account. That means a backup contains each local password’s verifier and each API token’s verifier, along with your settings. Keep backup files as safe as the server itself.
Settings
Link to this section: SettingsThe card’s header has the Enable Backups & Retention switch, plus Backups and Run Backup.
| Setting | Default | What it does |
|---|---|---|
| Enable Backups & Retention | On | Makes a backup every Backup Interval, and applies retention. |
| Backup Folder | /app/data/backups in the Docker image |
Where DownloadPulse stores database and configuration backups. Browse picks a folder on the machine that runs DownloadPulse. |
| Backup Interval | 24 hours (1 to 168) | How often an automatic backup is made. It counts from the last successful scheduled backup, so a restart doesn’t trigger a backup by itself. A failed scheduled backup is retried after an hour. |
| Backup Retention | 7 days (1 to 365) | Deletes backups older than this. |
| Maximum Retained Backups | 7 (1 to 365) | Keeps at most this many backups. Older backups beyond this count are removed even when they’re within the retention period. |
| Statistics Snapshot Interval | 60 minutes (0 to 1440) | How often DownloadPulse saves a record of the previous 24 hours of activity in its own database. 0 stops new snapshots. |
| Statistics Snapshot Retention | 30 days (1 to 365) | How long snapshots are kept before older ones are deleted. |
Everything from Backup Interval down is under Additional Backup & Retention Settings.
A backup is deleted once it’s older than Backup Retention or is no longer among the newest Maximum Retained Backups, whichever comes first. Retention is checked about a minute after DownloadPulse starts and every five minutes after that.
Run Backup makes a backup now. It works only while backups are enabled. Otherwise it reports Backup is disabled in Settings.
Desktop: The desktop app keeps its backup folder in its per-user data directory by default, not under
/app/data.
Statistics snapshots
Link to this section: Statistics snapshotsSnapshots are internal. They aren’t reports, they’re never sent anywhere, and you can’t currently view them in the interface. They’re separate from Statistics Reporting under Notifications, which sends summaries to a webhook. See Notifications.
The Backups manager
Link to this section: The Backups managerChoose Backups in the card’s header to open the backup list. Each backup is listed as one restore point, with its Backup time, its Contents and its Size. Select one backup (a single checkmark) to act on it:
| Action | What it does |
|---|---|
| Save Backup | Downloads a copy of the selected backup as one .zip file, saved where you choose. |
| Restore Backup | Replaces the current state with the selected backup. See Restoring a backup. |
| Remove | Permanently deletes the selected backup from DownloadPulse’s backup storage after you confirm Remove Backup?. Retention settings aren’t changed. |
| Add Backup | Uploads a saved copy back into the list. |
Add Backup checks the file completely before accepting it: its structure, the database’s integrity, the configuration, and an exact match with this installation’s database schema. A file that fails is refused with the reason, and it never appears in the list. A backup whose database schema differs from this installation’s can’t be added or restored.
The safety backups that DownloadPulse makes before a restore or a reset are ordinary restore points in the same list.
Desktop: In the desktop app, Save Backup opens your system’s own Save File dialog, and DownloadPulse saves the file exactly where you choose. In a browser, DownloadPulse uses the browser’s save dialog where it has one, and otherwise its normal download.
Restoring a backup
Link to this section: Restoring a backupRestoring is a privileged operation. It replaces the current database and configuration with the selected backup, including every account and every authentication setting.
- Choose Backups.
- Select the backup.
- Choose Restore Backup.
- Read the confirmation Restore Backup? and confirm.
Before the restore begins, three things happen in order:
- Processing is paused, and running downloads are stopped. They stay paused, not cancelled.
- A safety backup of the current state is created automatically.
- The selected backup is validated again.
Then DownloadPulse replaces the database, configuration and avatar in one step and restarts its services. While this runs, a Restoring DownloadPulse… window stays in front of everything and can’t be dismissed. When the restored state is running, the page reloads and says Backup restored successfully.
Safeguards:
- If validation fails, nothing changes. The current installation stays as it was, and every pause that you or an *arr client had set is put back. You return to Backups with the reason.
- A restore that would lock everyone out is refused. If the restored state would leave no enabled Admin who could sign in with the restored authentication settings, the restore doesn’t happen.
- Every browser session ends with a successful restore, so you may need to sign in again. Use the credentials that were valid when the backup was taken.
- The Backup Folder setting is kept, so the safety backup stays in the list.
- If the safety backup fails, the restore stops. Fix the Backup Folder (location, permissions, free space). The safety backup can’t be skipped.
Warning: In rare cases a restore can neither finish nor be undone, for example when the disk stops accepting changes part-way. DownloadPulse then stops using its stored data: every page and request says it must be restarted, and its health check reports it unhealthy. Your previous database and settings are kept. Restart DownloadPulse yourself once the disk is writable again, and startup puts the previous state back. Docker doesn’t restart a container on its own just because its health check is unhealthy.
Database Reset Controls
Link to this section: Database Reset ControlsThe database reset erases DownloadPulse’s download history so it starts empty. Use it only when you really mean to start over.
| Removed | Kept |
|---|---|
| Transfers and their files’ records | Accounts and passwords |
| Download requests | OpenID Connect links |
| External jobs | API tokens |
| Events and the Activity Log | Personal notification settings |
| Statistics snapshots | Every setting |
| Downloaded files on disk |
To reset:
- Switch on Allow Database Reset. It’s off by default, and Reset Database works only while it’s on.
- Choose Reset Database.
- In Wipe database?, type
WIPE. - Choose Wipe Database.
DownloadPulse always makes a safety backup first, and if that backup fails, nothing is erased. It stops running downloads and pauses processing for the reset, then restores the previous pause state afterwards. Afterwards it reports Database wiped. Pre-wipe backup created. The pre-wipe backup appears in Backups, so you can restore it if you change your mind.
Transfer Trace Log
Link to this section: Transfer Trace LogFor a bug report about one download, an Admin can save a Transfer Trace Log from that download’s Details. It’s a detailed record of the transfer. DownloadPulse removes passwords and private link details from it, but read it before you share it, and never share API keys, tokens or links that contain passwords.
Desktop: In the desktop app, the trace log is saved through the system Save File dialog too.