# 🐚 Useful Commands

*Here is a list of the most common commands used with Barman.*

---

## List VM Backups

```bash
barman list-backup <server_name>
```

## Check the Backup Status

```bash
barman show-backup <server_name> oldest
barman show-backup <server_name> latest
```

## Initiate a VM Backup

```bash
barman backup <server_name>
```

## Schedule a VM Backup

```bash
crontab -l
```

Where you type the following cron task:

```
00 20 * * * /usr/bin/barman backup <server_name>
```

## Check Barman Logs

```bash
tail -f /var/log/barman/barmal.log
```