Feature #208
Adding A Dedicated Drive To Zoneminder in Debian
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