Need to know if there are any ways to prevent SDK 8.0 from delete old images and moving images on LFVolume path update. I can;t seem to find any answers and there doesn't seem to be any functions or flags for the LFVolume class.
Question
Question
Answer
If you update the vol table directly you must restart LFS. I strongly advise against updating most tables in the repository database directly when LFS is running. The propval table can be safely updated while LFS is running, but most other tables cannot be.
Replies
There's no option in the SDK libraries, but LFS checks for the presence of a VOLUME.ID file in the new volume directory. If it finds a VOLUME.ID file already there, it will not move any files.
Thank you Mr. Allen.
I have a follow up question. If I update the volume path in SQL database, is there a way to update Laserfiche without restarting server service? Laserfiche seems to have the old path cached unless restarted.
If you update the vol table directly you must restart LFS. I strongly advise against updating most tables in the repository database directly when LFS is running. The propval table can be safely updated while LFS is running, but most other tables cannot be.
Thank you for your reply.