Was the zmcamtool.pl ever finished and if, so is it downloadable and where to get the file, or is it already included in ZM? How would one run it if so?
Thanks
Exportable Camera Configs aka zmcamtool.pl
-
- Posts: 53
- Joined: Wed Jul 15, 2015 12:42 am
Re: Exportable Camera Configs aka zmcamtool.pl
zmcamtool.pl is in the directory /usr/local/bin
To run, open a terminal and type:
To run, open a terminal and type:
Code: Select all
#zmcamtool.pl --help
Re: Exportable Camera Configs aka zmcamtool.pl
Do note that zmcamtool is not a tool to export your monitor configs. Its a tool to export/import monitor presets and controls DB.
If you tried this tool and thought "--export name" means it will export to the name specified, it won't. The 'name' is actually a filter (used with a --where condition of mysqldump).
In other words, to see what it does, just execute it with --export (to export) and it will print to stdout. You can redirect stdout to a file
If you tried this tool and thought "--export name" means it will export to the name specified, it won't. The 'name' is actually a filter (used with a --where condition of mysqldump).
In other words, to see what it does, just execute it with --export (to export) and it will print to stdout. You can redirect stdout to a file
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Exportable Camera Configs aka zmcamtool.pl
Exporting the actual config of a camera probably isn't what you want because info unique to that camera, most notably the ip address, will be part of the config.
Instead, first convert the monitor config into a camera preset, then export the preset to a file. Both operations can be done using zmcamtool.pl. See the help text for details.
Like any binary in a Linux environment, to find where it is use the type command:
Instead, first convert the monitor config into a camera preset, then export the preset to a file. Both operations can be done using zmcamtool.pl. See the help text for details.
Like any binary in a Linux environment, to find where it is use the type command:
Code: Select all
type zmcamtool.pl
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Exportable Camera Configs aka zmcamtool.pl
What if you do want to save all your specific camera configurations, just dump & reload the config table?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Exportable Camera Configs aka zmcamtool.pl
Zmcamtool.pl is not a backup tool. Zmcamtool is a camera config migration tool. It is intended to make life easier for those who need to program (many) similar cameras on the same system, or across multiple servers, or who want to share presets with others.
If a backup is what you want, then just use the normal mysql tools to backup the database and/or table of your choice. You might as well just backup the entire database.
If a backup is what you want, then just use the normal mysql tools to backup the database and/or table of your choice. You might as well just backup the entire database.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/