The hard disk was previously used on a PC; from what you say maybe the DVR recognizes some sectors (for example in the MBR) and thinks the HDD must be erased.
The time remains correct after every reboot, so the problem must be in the hard-disk.
Tomorrow I'll try to erase the hard disk filling every sector with zeros.
Thank you for your quick answer!