On this page

6.4 Application jobs

Application jobs back up databases and containers consistently through each application's own interfaces. Supported are SQL Server, PostgreSQL, MariaDB / MySQL and Docker. Choose the workload in the job editor (section 6.2 Job editor: general settings); the matching box then appears.

All jobs of the same instance form one chain. Long data streams are stored in parts.

Common notes

  • Credentials (password; for Proxmox the API token) are write-only: they can be set, changed or removed, but never displayed again. A set badge shows that a value is stored; the buttons Change, Remove and Undo control it.

  • Backup type (incremental, differential, full) exists only for file, image and Hyper-V jobs. Application jobs have their own types (see SQL Server and PostgreSQL).

  • The agent reports database names only on refresh, and only if it can log in without a password (SQL Server with Windows authentication; PostgreSQL and MariaDB/MySQL as postgres/root on Linux). Otherwise type the names in.

  • Restoring databases, tables and containers: see chapter 09 Restore.

SQL Server

Option

Effect

Default

Instance

Name of the SQL Server instance. All jobs of one instance form one chain.

empty

Host

Connection target. The connection uses no TLS and is local only.

localhost

Port

TCP port.

automatic

SQL login

User name. Empty means Windows integrated authentication (Windows agents only). On Linux a SQL login is required.

empty

Password

Password of the SQL login, write-only.

empty

Databases

Databases to back up. Empty: all user databases.

empty (all)

Exclude databases

Databases that are skipped.

empty

Backup type

Full, Differential or Log.

Full

Copy-only

Creates a backup that does not affect the chain. Not possible with differential backups.

off

Compression

SQL Server compression. Not available in Express edition.

off

Checksum

Verifies page checksums while backing up.

on

System databases

Includes master, model and msdb. tempdb is never backed up.

off

Temporary folder for the .bak file

Staging location for the .bak file. The SQL Server service must be able to write to it and the agent to read it.

tmp in the agent's state folder

The editor reports: "Copy-only is not possible with differential backups." and "Windows authentication only works on Windows agents: enter a SQL login."

PostgreSQL

Option

Effect

Default

PostgreSQL mode

Dump (logical backup with the client tools) or Point in time (PITR) (base backup plus WAL archive).

Dump

Instance label

Label of the instance in the repository.

<host>-<port>

Host

Server.

localhost

Port

TCP port.

5432

User

Database user. PITR requires the REPLICATION role, and pg_switch_wal() must be callable.

postgres

Password

Write-only.

empty

Databases

Databases to back up, empty for all.

empty

Exclude databases

Databases to leave out.

empty

Also back up roles and tablespaces (pg_dumpall --globals-only)

Includes the global objects.

on

WAL spool folder

Folder to which archive_command writes the WAL segments. Required for PITR ("PITR needs the WAL spool folder that archive_command writes to.").

empty

Every run

Base backup + WAL or WAL only.

Base backup + WAL

Client tools folder

Folder with pg_dump, pg_dumpall and the other tools if they are not on the search path.

empty

The Server setup for PITR box shows a copyable snippet for postgresql.conf with wal_level = replica, archive_mode = on and a matching archive_command. Enter it on the server before a PITR job runs.

MariaDB / MySQL

Option

Effect

Default

MariaDB method

Automatic, Physical or Dump. Physical backs up the whole instance with mariadb-backup or xtrabackup (xbstream); the database list must then be empty.

Automatic

Instance label

Label in the repository.

<host>-<port>

Host

Server.

localhost

Port

TCP port.

3306

Socket

Unix socket instead of TCP.

empty

User

Database user.

root

Password

Write-only.

empty

Databases

Databases to back up.

empty (all)

Exclude databases

Databases to leave out.

empty

Client tools folder

Folder with the client programs if not on the search path.

empty

Docker

The job backs up containers and Compose projects including their volumes. At least one container or Compose project must be given ("Specify at least one container or Compose project.").

Option

Effect

Default

Compose projects

Compose projects, including Portainer stacks.

empty

Containers

Individual containers.

empty

While reading the data

Keep running, Pause or Stop. Pausing and stopping improve consistency but interrupt the service.

Keep running

Stop timeout (s)

Wait time when stopping, at most 3600.

30

Include bind mounts (named volumes always)

Also backs up bind mounts. Named volumes are always included.

on

Skip volumes or bind mounts

Volumes or bind mounts to exclude.

empty

Docker endpoint

Socket of the Docker service.

/var/run/docker.sock, on Windows \\.\pipe\docker_engine

Docker Desktop volumes are not supported.

Last updated Nov 16, 2026