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!
Yes, I agree on the date/time in the export filename.
Seems like a job for Pi-hole Teleporter... @DL6ER
DL6ER
March 5, 2017, 12:01pm
4
Put this on my ToDo list!
DL6ER
March 5, 2017, 1:13pm
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:
pi-hole:devel
← pi-hole:tweak/teleporter
opened 12:58PM - 05 Mar 17 UTC
**By submitting this pull request, I confirm the following (please check boxes, … eg [X] - no spaces) _Failure to fill the template will close your PR_:**
***Please submit all pull requests against the `development` branch. Failure to do so will delay or deny your request***
- [X] I have read and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md).
- [X] I have checked that [another pull request](https://github.com/pi-hole/pi-hole/pulls) for this purpose does not exist.
- [X] I have considered, and confirmed that this submission will be valuable to others.
- [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
- [X] I give this submission freely, and claim no ownership to its content.
**How familiar are you with the codebase?:** 10
---
- Add datetimestamp to filename (like `pi-hole-teleporter_2017-03-05_01-37-52.zip`)
- Include *all* files found in `/etc/dnsmasq.d` in the generated ZIP archive
![screenshot at 2017-03-05 13-54-27](https://cloud.githubusercontent.com/assets/16748619/23587430/dde14c18-01ab-11e7-85e0-b48979e3a640.png)
_This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
pi-hole:development
← pi-hole:new/teleporter
opened 01:10PM - 05 Mar 17 UTC
**By submitting this pull request, I confirm the following (please check boxes, … eg [X]) _Failure to fill the template will close your PR_:**
***Please submit all pull requests against the `development` branch. Failure to do so will delay or deny your request***
- [X] I have read and understood the [contributors guide](https://github.com/pi-hole/pi-hole/blob/master/CONTRIBUTING.md).
- [X] I have checked that [another pull request](https://github.com/pi-hole/pi-hole/pulls) for this purpose does not exist.
- [X] I have considered, and confirmed that this submission will be valuable to others.
- [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
- [X] I give this submission freely, and claim no ownership to its content.
**How familiar are you with the codebase?:** 10
---
Allow creation of teleporter file via CLI (will be placed in current working directory).
<pre>
pi@raspberrypi:~ $ mkdir emptydir
pi@raspberrypi:~ $ cd emptydir/
pi@raspberrypi:~/emptydir $ ls
pi@raspberrypi:~/emptydir $ <b>pihole -a -t</b>
pi@raspberrypi:~/emptydir $ ls
pi-hole-teleporter_2017-03-05_14-08-02.zip
</pre>
_This template was created based on the work of [`udemy-dl`](https://github.com/nishad/udemy-dl/blob/master/LICENSE)._
2 Likes
Thank you very much for time and effort! I really appreciate the additions and changes.
Thumbs up
When are the features available?