dietpi-backup - Backup completed date - cmnd? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
User avatar
novitibo
Posts: 87
Joined: Mon Feb 29, 2016 5:11 pm

dietpi-backup - Backup completed date - cmnd?

Post 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!
User avatar
Joulinar
Posts: 2287
Joined: Sat Nov 16, 2019 12:49 am

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

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
novitibo
Posts: 87
Joined: Mon Feb 29, 2016 5:11 pm

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

Post by novitibo »

it works!

using HA Command line Sensor

tnx!
Post Reply