scp upload support

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
trickeh
Posts: 2
Joined: Fri Apr 20, 2007 1:39 pm

scp upload support

Post by trickeh »

just a suggestion but it would be really useful (and more secure!)

SCP support could be added so events can be automatically sent over a secure connection to a remote host same as the ftp does.

thanks!
"It's important for a corporate leader to know the difference between what is actually illegal, and what people assume should be illegal" - Bill Gates
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

do you mean as an upload?
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
trickeh
Posts: 2
Joined: Fri Apr 20, 2007 1:39 pm

Post by trickeh »

just to clarify..

assume you have a setup which is recording 24/7 and you require offsite backup of the logged events.

It would be nice if zoneminder had a crontab to schedule tar'ing and gnupg encrypting the events every 24hrs and scp'ing the archive to an offsite server.

cheers
Tricky
"It's important for a corporate leader to know the difference between what is actually illegal, and what people assume should be illegal" - Bill Gates
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

If you want to use scp then you can just create a script that does the scping for you and add that to your filter instead of the upload function. That script will be executed in the events directory and be passed a parameter which is <mon id>/<event id> which is the path to the event dir. So all your script would really need to do would be to scp the files at that location to your destination. That is a more flexible way of doing things that adding a new option to ZM at the moment as everyone wants something different. The script would only be run once per event.
Phil
Post Reply