Fork me on GitHub

Which backups are running on a specific system?

In order to determine which backups are currently in progress on a POSIX compliant system, execute the following command :

ps -A | grep lbackup | awk '{print $6}' | sed '/^$/d'

Out put should be similar to the following (showing a path to the currently executing backups :

/etc/lbackup/server1.example.com/server1_backup.conf
/etc/lbackup/server29.example.com/server29_backup.conf
/etc/lbackup/server3.example.com/server3_backup.conf

If no instance(s) of lbackup exist on the system then no output will be displayed