Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

How to delete a specific footage from a NX server (immediately)?

Answered

Comments

3 comments

  • Norman
    • Network Optix team

    If you can search for the first and last (chronological) directories you want to delete, then you can use find:

    find . -newer first -not -newer last -type d

    And if the output suits you, go for the delete

    find . -newer first -not -newer last -type d -print0 | xargs -0 rmdir

    or with explicit date stamps:

    find . -newermt "2010-03-31 0300" -not -newermt "2010-03-31 0310" -type d
    0
  • Permanently deleted user

    Hi Norman,

    Thank you for your helpful answer!

    The way which you suggested results in archive database corruption. To fix it, we need to perform "Rebuild Archive Index." However, I am afraid whether this operation is acceptable or not in a production environment in terms of sever workload and robustness.

    Any idea?

    0
  • Norman
    • Network Optix team

    Hi Tomoaki,

    Unfortunately, I do not have a suggestion for a better workflow in this situation. 
    In general surveillance systems are made to record data, not to remove data. ;-) 

    1

Please sign in to leave a comment.