Backup of log file

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
febalci
Posts: 331
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Backup of log file

Post by febalci »

Using 4.9700 stable on ubuntu 18.04.
Whenever i restart Domoticz for any reason, it erases the log file and starts from scratch. When restarting, is there a way to backup the log file to somewhere automatically, preferably datetime coded, and then start Domoticz service?
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Backup of log file

Post by HansieNL »

Maybe this page https://www.domoticz.com/wiki/Daily_bac ... ternal_hdd can help you how to make a backup datetime coded.
Blah blah blah
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Backup of log file

Post by EdwinK »

Great that those old scripts still work ;) Backing up to my Synology now.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest