Page 1 of 1

dietpi-backup - Backup completed date - cmnd?

Posted: Mon Oct 12, 2020 4:12 pm
by novitibo
hi,

what is cli cmnd to get dietpi-backup - Backup completed date?
I would like to show it on Home assistant frontend.

Tnx!

Re: dietpi-backup - Backup completed date - cmnd?

Posted: Mon Oct 12, 2020 4:21 pm
by Joulinar
Hi,

many thanks for your request. dietpi-backup themselves did not offer such a functionality. However you could have a look to the .dietpi-backup_stats file, which is located on your backup target directory.

Code: Select all

tail -1 /mnt/dietpi-backup/.dietpi-backup_stats

Re: dietpi-backup - Backup completed date - cmnd?

Posted: Mon Oct 12, 2020 4:40 pm
by novitibo
it works!

using HA Command line Sensor

tnx!