list-backup-logs

Outputs a list of backups that have been run This command by default outputs logs of all backups made using Virtualmin, in a simple table format. To switch to a more detailed and parsable output format, add the --multiline flag to the command line. To limit the display to backups that contain a specific domain, use the --domain flag followed by a virtual server name. To limit to backups made by a particular Virtualmin user, use the --user flag followed by a username.

Outputs a list of backups that have been run#

This command by default outputs logs of all backups made using Virtualmin, in a simple table format. To switch to a more detailed and parsable output format, add the --multiline flag to the command line.

To limit the display to backups that contain a specific domain, use the --domain flag followed by a virtual server name.

To limit to backups made by a particular Virtualmin user, use the --user flag followed by a username.

To only show backups made via the web UI, use the --mode cgi flag. To show scheduled backups, use --mode sched. Or to show backups made from the command line or remote API, use --mode api.

To only show backups that failed, add the --failed flag to the command line. Or to show backups that worked, use --succeeded. By default both are shown.

To limit the display to backups within some time range, use the --start flag followed by a date in yyyy-mm-dd format to only show backups that started on or after this date. Or use --end to only show backups that started before the following date.

Command line help#

virtualmin list-backup-logs [--domain domain.name |
 [--user name]
 [--failed | --succeeded]
 [--mode "cgi"|"sched"|"api"]
 [--start yyyy-mm-dd]
 [--end yyyy-mm-dd]
 [--multiline]

Source: https://www.virtualmin.com/docs/development/api-programs/list-backup-logs/

  • virtualmin, cgi, domain, backup, schedule, user, log, logs, api, remote api, command line, list
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...