Is it possible to periodically migrate video storage from SSD to HD?

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
mszil
Posts: 5
Joined: Tue Dec 26, 2017 12:19 pm

Is it possible to periodically migrate video storage from SSD to HD?

Post by mszil »

Hi all

I got ZM 1.32 running on Ubuntu 18.04. Quite impressed so far.

I'm trying to tweak a few things - hoping to record live video onto my SSD and once a day migrate the files to the much larger HD so it doesn't have to run 24x7. Right now my thought is to mount a HD folder inside the recording folder and run a script that performs the migration and also updates the DB. Not sure how risky this is - I would plan to retain both copies while the DB is being updated and then delete the originals. Not sure if ZM might have some internally cached references to files which could become corrupted.

Has anyone attempted something similar they could share - or is there any guide I missed searching for this?

Thanks.
Markus
mszil
Posts: 5
Joined: Tue Dec 26, 2017 12:19 pm

Re: Is it possible to periodically migrate video storage from SSD to HD?

Post by mszil »

I did find this forum post which looks like it would work for me:

viewtopic.php?t=22781

The basic idea is to run zoneminder on a low-res stream - that will store events and low-def video at much lower consumption. Then use a script to continuously record using vlc (or ffmpeg I suppose) with my own file structure - so hi-res video is available when needed. I could then run another script to manage the files since they're not linked to anything in zm.

I'm open to better ideas though.

Thanks.
Post Reply