Skip to main content

Usefull Commands

Here is a list of the most common commands used with Barman.


List VM Backups

barman list-backup <server_name>

Check the Backup Status

barman show-backup <server_name> oldest
barman show-backup <server_name> latest

Initiate a VM Backup

barman backup <server_name>

Schedule a VM Backup

crontab -l

Where you type the following cron task:

00 20 * * * /usr/bin/barman backup <server_name>

Check Barman Logs

tail -f /var/log/barman/barmal.log