Project

General

Profile

Feature #208

Adding A Dedicated Drive To Zoneminder in Debian

Added by Daniel Curtis about 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/27/2013
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

As I move forward with the Central Camera Service, I decided to dedicate a hard drive to storing image and event data. Unfortunately Zoneminder does not have a configuration parameter to set a path for event or image storage. Start off by stopping zoneminder:

service zoneminder stop

To work around this, remove the existing symlinks to the event and image folders:

rm /usr/share/zoneminder/events
rm /usr/share/zoneminder/images

Then set the new location symlinks

cd /usr/share/zoneminder
ln -s /mnt/sdf1/zoneminder/events
ln -s /mnt/sdf1/zoneminder/images

If need be, synchronize the previous event and image folders to the new hard drive

rsync -avh /var/cache/zoneminder/events/ /mnt/sdf1/zoneminder/events/
rsync -avh /var/cache/zoneminder/images/ /mnt/sdf1/zoneminder/images/

When finished, restart zoneminder

service zoneminder start

Also available in: Atom PDF