# Settings: Backup Settings
## Endpoint
`/api/settings/backup`
**Obsolete Path:** `/api/backupSettings`
## Method
GET
## Description
Returns a zip file containing copies of all items selected for backup. The response is a binary zip file download.
## Authentication
Required. Token must have **Settings: Delete** permission.
## Parameters
| `token` | string | Yes | No | Session token from `login` or `createToken`. |
| `node` | string | No | No | Node domain name for cluster targeting. Only usable when Clustering is initialized. Defaults to current node. |
| `authConfig` | bool | No | No | Backup authentication config file. Default: `false`. |
| `clusterConfig` | bool | No | No | Backup Cluster config file. Default: `false`. |
| `webServiceSettings` | bool | No | No | Backup web service config file. Default: `false`. |
| `dnsSettings` | bool | No | No | Backup DNS settings and certificate files. TLS certificate (.pfx) files are included only if they exist within the DNS server config folder. Default: `false`. |
| `logSettings` | bool | No | No | Backup log settings file. Default: `false`. |
| `zones` | bool | No | No | Backup DNS zone files. Default: `false`. |
| `allowedZones` | bool | No | No | Backup allowed zones file. Default: `false`. |
| `blockedZones` | bool | No | No | Backup blocked zones file. Default: `false`. |
| `blockLists` | bool | No | No | Backup block lists cache files. Default: `false`. |
| `apps` | bool | No | No | Backup installed DNS apps. Default: `false`. |
| `scopes` | bool | No | No | Backup DHCP scope files. Default: `false`. |
| `stats` | bool | No | No | Backup dashboard stats files. Default: `false`. |
| `logs` | bool | No | No | Backup log files. Default: `false`. |
## Response Fields
The response is **not JSON**. It is a binary zip file with:
- Content-Type: `application/zip`
- Content-Disposition: `attachment`
## Conditional Logic Notes
- The `dnsSettings` option includes TLS certificate files only if they reside within the DNS server's config folder.
- If no parameters are set to `true`, the backup zip will be empty or minimal.
- Despite being a "backup" operation, this requires **Settings: Delete** permission (not View or Modify).
## Edge Cases
- The response is binary, not JSON -- standard JSON response parsing will fail.
- The `node` parameter allows backing up remote cluster nodes.
- Certificate files outside the config folder are not included in `dnsSettings` backup even when the setting references them.