Page 2 of 2

Re: Stop Creation of .bak Files ???

Posted: Thu Oct 14, 2021 11:29 am
by xnview
Do you have always this problem when editing IPTC on multiple JPEG files? and on one file?
If it fails on a selection of files, if you try again, same problem (after removing .bak)?

Re: Stop Creation of .bak Files ???

Posted: Thu Oct 14, 2021 1:04 pm
by BuckSkin
xnview wrote: Thu Oct 14, 2021 11:29 am Do you have always this problem when editing IPTC on multiple JPEG files? and on one file?
If it fails on a selection of files, if you try again, same problem (after removing .bak)?
The quantity of files seems to have no bearing; it will sometimes do it with only a single file and sometimes with many.

Usually, after I remove .bak and try again, it will work fine.

Often, when it creates a .bak, my edit will be to on the .bak and not the original I intended.

Re: Stop Creation of .bak Files ???

Posted: Thu Oct 14, 2021 4:30 pm
by XnTriq
@Pierre: Could this be related to a corrupted database as indicated by Gérard 91?

@BuckSkin: Have you considered checking access rights with a utility like NTFS Permissions Tools or LockHunter?

Re: Stop Creation of .bak Files ???

Posted: Thu Oct 14, 2021 5:29 pm
by BuckSkin
How many databases does XnViewMP utilize/have; what are they called and where are they located ?

Seeing as all metadata is written into the files, I should lose nothing by deleting databases and letting XnViewMP create them anew, right ?

I would be all for purging the program of all databases and starting fresh to see if that will cure this .bak file problem.

Re: Stop Creation of .bak Files ???

Posted: Thu Oct 14, 2021 7:30 pm
by XnTriq
BuckSkin wrote: Thu Oct 14, 2021 5:29 pmHow many databases does XnViewMP utilize/have; what are they called and where are they located ?
The location depends on your configuration in ToolsSettings…IntegrationPaths.
xnview wrote: Fri Dec 30, 2016 1:32 pmThumb.db contains the cached thumbnails.
XnView.db contains categories, files' info, and ratings.
On Windows 10, it's usually C:\Users\BuckSkin\AppData\Roaming\XnViewMP\.

BuckSkin wrote: Thu Oct 14, 2021 5:29 pmSeeing as all metadata is written into the files, I should lose nothing by deleting databases and letting XnViewMP create them anew, right ?
What's your configuration of Export Catalog's Category to XMP Subject and IPTC Keyword in ToolsSettings…MetadataIPTC & XMP?
For now, I recommend renaming Thumb.db and XnView.db to Thumb.db.old and XnView.db.old.

BuckSkin wrote: Thu Oct 14, 2021 5:29 pmI would be all for purging the program of all databases and starting fresh to see if that will cure this .bak file problem.
You can tell XnView to check integrity of catalog at startup or disable cataloging altogether in ToolsSettings…CatalogCatalog.

Re: Stop Creation of .bak Files ???

Posted: Fri Oct 15, 2021 12:39 am
by BuckSkin
XnTriq wrote: Thu Oct 14, 2021 7:30 pm
What's your configuration of Export Catalog's Category to XMP Subject and IPTC Keyword in ToolsSettings…MetadataIPTC & XMP?
I am fairly certain these settings are default.

I want XViewMP to write IPTC, XMP, Comment, and GPS into the files metadata.

I would prefer it not alter my keyword tags at all.

Do you recommend any changes to what you see here ?

Catalog was enabled and I disabled it.
Settings_Metedata_IPTC&XMP_14-Oct-2021.png

Re: Stop Creation of .bak Files ???

Posted: Fri Oct 15, 2021 8:33 am
by xnview
BuckSkin wrote: Fri Oct 15, 2021 12:39 am I would prefer it not alter my keyword tags at all.
So you need to disable 'Export Catalog category...'

About .bak problem, is it possible to send you a test version to understand the problem?

Re: Stop Creation of .bak Files ???

Posted: Sat Oct 16, 2021 9:15 am
by BuckSkin
xnview wrote: Fri Oct 15, 2021 8:33 am
About .bak problem, is it possible to send you a test version to understand the problem?
What would I require for it to be possible ?

What would I need do ?

Thanks.

Re: Stop Creation of .bak Files ???

Posted: Mon Oct 18, 2021 7:03 am
by xnview
BuckSkin wrote: Sat Oct 16, 2021 9:15 am What would I require for it to be possible ?
i contact you by pm

Re: Stop Creation of .bak Files ???

Posted: Thu Jul 14, 2022 12:45 pm
by XnTriq
xnview wrote: Fri Oct 15, 2021 8:33 amAbout .bak problem, is it possible to send you a test version to understand the problem?
We have another user reporting the same problem: How to stop bak files being created