Page 1 of 1

Custom recording location, scheduling, etc

Posted: Mon Aug 24, 2009 5:52 am
by cbreaker
Hi,

I'm pretty new to ZoneMinder, but I've been able to get it running with a TV-IP410 and I did get control to work, so I'm looking pretty good so far.

However, I'd like to simply record the video from the camera full time, and store the video somewhere besides the default location (which I'm not actually sure where that is... The documentation doesn't really seem to touch on this very much.)

I am not interested in using motion triggers for this camera. I just want to record video 24 hours. I'd like to break the video up into 1 hour blocks if possible.

So, I guess I'm not sure how to do this, if it's even possible? I've got to think you can just record 24 hours a day. And where do I tell ZoneMinder where to store the video?

Thanks in advance.

Same question

Posted: Mon Aug 24, 2009 1:22 pm
by scarrz
I have a similar issue. I have a second hard drive in my machine (DEV/SDA2) that I would like to dedicate for recordings, but I am not sure as to where to go to configure ZM to record to this HD? I looked in the options section of ZM but no luck.

CBREAKER, I have the TV-IP410 camera and wanted to ask where you put your control module script to get the pan/tilt to work? Also if you have the script you used that would be great too. I noticed someone else who made a how-to script for the Airlink camera which is supposed to work the same as the ip410.

Posted: Mon Aug 24, 2009 2:14 pm
by sef1976
lrwxrwxrwx 1 root root 37 2009-08-22 08:35 events -> ../../../../var/lib/zoneminder/events
lrwxrwxrwx 1 root root 37 2009-08-22 08:35 images -> ../../../../var/lib/zoneminder/images
lrwxrwxrwx 1 root root 35 2009-08-22 08:35 temp -> ../../../../var/lib/zoneminder/temp

point it on you (DEV/SDA2)

mount it on /var/lib/zoneminder
and recreate dir's
and chmod :D

Configure recording location

Posted: Tue Aug 25, 2009 8:01 pm
by scarrz
Sef1976, sorry but I'm not following what your telling me to do? Can you provide a step by step? I don't have a /var/lib/zoneminder/events directory. Sorry, I'm a rookie.

Posted: Fri Aug 28, 2009 5:22 am
by sef1976

Code: Select all

1) 
mkdir /var/lib/zoneminder
2) 
mount /dev/sda2 /var/lib/zoneminder

>>fstab
/dev/sda2 /var/lib/zoneminder <fstype> noatime,default 0 0
3) 
service zoneminder stop
4) 
mv -R /var/www/html/events /var/lib/zonemider/
mv -R /var/www/html/images /var/lib/zoneminder/
mv -R /var/www/html/temp /var/lib/zoneminder/
5) 
ln -s /var/lib/zoneminder/events /var/www/html/events 
ln -s /var/lib/zoneminder/images /var/www/html/images
ln -s /var/lib/zoneminder/temp /var/www/html/temp
6) service zoneminder start

that all 

Thanks SEF1976

Posted: Mon Aug 31, 2009 9:01 pm
by scarrz
Thanks much.

Posted: Mon Aug 31, 2009 10:16 pm
by scarrz
Sef1976, I do not seem to have this directory structure:

/var/www/html/events ? I'm running ubuntu 9.04, with zoneminder 1.23.3. Could my installation have put a different folder structure?

Also, is the

>>fstab supposed to be all one line? example: "
>>fstab /dev/sda2 /var/lib/zoneminder <fstype> noatime,default 0 0

Posted: Thu Sep 03, 2009 5:50 pm
by scarrz
Got it Sef1976. Thx again. It worked just great.
scarrz wrote:Sef1976, I do not seem to have this directory structure:

/var/www/html/events ? I'm running ubuntu 9.04, with zoneminder 1.23.3. Could my installation have put a different folder structure?

Also, is the

>>fstab supposed to be all one line? example: "
>>fstab /dev/sda2 /var/lib/zoneminder <fstype> noatime,default 0 0

Posted: Fri Sep 04, 2009 4:56 am
by sef1976
FSTAB

Code: Select all

/dev/sda2 /var/lib/zoneminder <fstype> noatime,default 0 0
  • <fstype> :

    ext3
    ext4
    and etc
you must set File System of partition