Skip to main content

Templates

duplistatus uses three templates for notification messages. These templates are used for both NTFY and Email notifications.

The page includes a Template Language selector that sets the locale for default templates. Changing the language updates the locale for new defaults, but it does not change the text of existing templates. To apply a new language to your templates, either edit them manually or use Reset this template to default (for the current tab) or Reset all to default (for all three templates).

notification templates

TemplateDescription
SuccessUsed when backups complete successfully.
Warning/ErrorUsed when backups complete with warnings or errors.
Overdue BackupUsed when backups are overdue.

Template Language

A Template Language selector at the top of the page lets you choose the language for default templates (English, German, French, Spanish, Portuguese). Changing the language updates the locale for defaults, but existing customized templates keep their current text until you update them or use one of the reset buttons.


Available Actions

ButtonDescription
Saves the settings when changing the template. The button saves the template being displayed (Success, Warning/Error or Overdue Backup).
Checks the template after updating it. The variables will be replaced with their names for the test. For email notifications, the template title becomes the email subject line.
Restores the default template for the selected template (the current tab). Remember to save after resetting.
Restores all three templates (Success, Warning/Error, Overdue Backup) to the defaults for the selected Template Language. Remember to save after resetting.

Variables

All templates support variables that will be replaced with actual values. The following table shows the available variables:

VariableDescriptionAvailable In
{server_name}Name of the server.All templates
{server_alias}Alias of the server.All templates
{server_note}Note for the server.All templates
{server_url}URL of the Duplicati Server web configurationAll templates
{backup_name}Name of the backup.All templates
{status}Backup status (Success, Warning, Error, Fatal).Success, Warning
{backup_date}Date and time of the backup.Success, Warning
{duration}Duration of the backup.Success, Warning
{uploaded_size}Amount of data uploaded.Success, Warning
{storage_size}Storage usage information.Success, Warning
{available_versions}Number of available backup versions.Success, Warning
{file_count}Number of files processed.Success, Warning
{file_size}Total size of files backed up.Success, Warning
{messages_count}Number of messages.Success, Warning
{warnings_count}Number of warnings.Success, Warning
{errors_count}Number of errors.Success, Warning
{log_text}Log messages (warnings and errors)Success, Warning
{last_backup_date}Date of the last backup.Overdue
{last_elapsed}Time elapsed since the last backup.Overdue
{expected_date}Expected backup date.Overdue
{expected_elapsed}Time elapsed since the expected date.Overdue
{backup_interval}Interval string (e.g., "1D", "2W", "1M").Overdue
{overdue_tolerance}Overdue tolerance setting.Overdue