Move Events Directory to Different Partition/Dropbox

Forum for questions and support relating to the 1.24.x releases only.
Locked
FullMoonMadness
Posts: 11
Joined: Fri Oct 14, 2011 8:42 pm

Move Events Directory to Different Partition/Dropbox

Post by FullMoonMadness »

I'm trying to move the events & images directories to a separate hard drive partition (3 GB) that is being synced with Dropbox, and have the disk percentage show correct the amount of space used on the partition on the ZM console page.

Zoneminder 1.24.1
Ubuntu 9.10
The partition is mounted in /etc/fstab with this command:

Code: Select all

/dev/sda3 /home/myname/Dropbox ext4 auto,rw,user,user_xattr 0 2
I tried following the instructions linked below, but they have not worked for me.
http://www.zoneminder.com/wiki/index.ph ... Hard_Drive

The only way I've been able to get the images to my dropbox partition and not have any issues with the cameras recording new events is to create a symlink from /usr/share/zoneminder/events (and images) to my dropbox directory. Of course, that is just a symlink to another symlink since /usr/share/zoneminder/events is linked to /var/cache/zoneminder/events. -- The issue is the disk usage shows as being 5%, which is not accurate.

When I tried the above instructions (from the link), my Source would turn orange. I could click on the camera and view images, but it would not record new alerts (modect mode). The disk usage would show as "-1%". That's right, minus one percent.

Thanks in advance for any ideas or pointers.
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Move Events Directory to Different Partition/Dropbox

Post by PacoLM »

Hi,

I found this some time ago, but never had time to try it out:
http://wiki.dropbox.com/DropboxAddons/P ... oxUploader
http://jaka.kubje.org/projects/dropbox-uploader/

Post your advances!

PacoLM

After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
FullMoonMadness
Posts: 11
Joined: Fri Oct 14, 2011 8:42 pm

Re: Move Events Directory to Different Partition/Dropbox

Post by FullMoonMadness »

Thanks Paco, but I already have dropbox installed on my partition. The difficulty I'm having is getting Zoneminder to recognize the size of the partition and calculate the amount of disk space used correctly (for the purposes of having the audit delete old events so I don't go over my dropbox storage limit).
Locked