hi,
i´m using a shell_command to copy log files as desribed 1:1 in this post:
backup_logs: cp /config/home-assistant.log /config/external_data/log-`date +"%Y%m%d%H%M"`.log
what worked like a charm…
i had tried to copy to different target folder backup
, but this failed with return code: 1
, same error as folder would not exist, but i had created manually and it exists?
for target i had tried a newly created subfolder /backup/hassio-logs
first and went on still existing /backup/
folder… but same error?
backup_logs: cp /config/home-assistant.log /backup/hassio-logs/log-`date +"%Y%m%d%H%M"`.log
backup_logs: cp /config/home-assistant.log /backup/log-`date +"%Y%m%d%H%M"`.log
what i made wrong?
br
Frank