Backup (Teleporter?) via SSH

Is there a way to execute the teleporter command/script via SSH and/or bash script?

Since the teleporter is written in PHP and uses some special webserver variables, I don't think you'd be able to get it working purely on the command line. However, you might be able to create a curl command which hits the teleporter. As it is not really in the API, it might be difficult to create such a command.

OK, that makes it a bit more difficult then to create a "full automated backup" (i.e. cron job) of PiHole...
Gonna try to find another way.
Thanks!!

I use http://rsnapshot.org/ for that job :slight_smile:

1 Like