Automated Backup of DB

 Simple full backup complete IOT database

Script for backup to mounted NAS directory

mount -v -t cifs -o user=DDDD,password=YYYYYY,rw,file_mode=0777,dir_mode=0777,uid=dietmar,gid=users // /mnt/backup

influxd backup /mnt/backup/INFLUX
influxd backup -database "iot" /backup/INFLUX

umount -v /mnt/backup

Daily backup

Add this line to the crontab of root

0 5 * * * /home/dietmar/bin/  | /usr/bin/logger -t influxbackup




2014 CW (Morse Telegraphy) was added to the German Nationwide Inventory of Intangible Cultural Heritage.