Export: Include created or changed files from /etc/dnsmasq.d/ and shell command


#1

Please include the created or changed files from /etc/dnsmasq.d/ to the export feature.
Additionally a shell command for the export feature and a intigration in crontab for periodic backups would be desirable.
Please add a date and timecode to the name of the export file.

Thank you very much!


#2

Yes, I agree on the date/time in the export filename.


#3

Seems like a job for Pi-hole Teleporter… @DL6ER


#4

Put this on my ToDo list!


#5

All files found in /etc/dnsmasq.d are now included.

I added

pihole -a -t

which is the short form of

pihole admin teleporter

This command will create the ZIP file in the current working directory (make sure that this is where you want it when using cron!).

New files will have a name like pi-hole-teleporter_2017-03-05_14-11-44.zip.


Corresponding pull requests:


#6


#7

Thank you very much for time and effort! I really appreciate the additions and changes.

Thumbs up

When are the features available?


#8

If all goes well, 3.0.


#9

This has been implemented in 3.0.


#10