Custom recording location, scheduling, etc

Forum for questions and support relating to the 1.24.x releases only.
Locked
cbreaker
Posts: 4
Joined: Thu Dec 27, 2007 8:17 pm

Custom recording location, scheduling, etc

Post 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.
scarrz
Posts: 23
Joined: Thu Aug 20, 2009 12:40 pm

Same question

Post 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.
sef1976
Posts: 46
Joined: Sun Aug 16, 2009 5:24 am

Post 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
scarrz
Posts: 23
Joined: Thu Aug 20, 2009 12:40 pm

Configure recording location

Post 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.
sef1976
Posts: 46
Joined: Sun Aug 16, 2009 5:24 am

Post 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 
scarrz
Posts: 23
Joined: Thu Aug 20, 2009 12:40 pm

Thanks SEF1976

Post by scarrz »

Thanks much.
scarrz
Posts: 23
Joined: Thu Aug 20, 2009 12:40 pm

Post 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
scarrz
Posts: 23
Joined: Thu Aug 20, 2009 12:40 pm

Post 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
sef1976
Posts: 46
Joined: Sun Aug 16, 2009 5:24 am

Post 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
Locked