Stop Creation of .bak Files ???

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

User avatar
xnview
Author of XnView
Posts: 36431
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Stop Creation of .bak Files ???

Post 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)?
Pierre.
BuckSkin
Posts: 74
Joined: Thu Aug 18, 2016 4:09 am

Re: Stop Creation of .bak Files ???

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 5922
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Stop Creation of .bak Files ???

Post 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?
BuckSkin
Posts: 74
Joined: Thu Aug 18, 2016 4:09 am

Re: Stop Creation of .bak Files ???

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 5922
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Stop Creation of .bak Files ???

Post 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.
BuckSkin
Posts: 74
Joined: Thu Aug 18, 2016 4:09 am

Re: Stop Creation of .bak Files ???

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 36431
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Stop Creation of .bak Files ???

Post 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?
Pierre.
BuckSkin
Posts: 74
Joined: Thu Aug 18, 2016 4:09 am

Re: Stop Creation of .bak Files ???

Post 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.
User avatar
xnview
Author of XnView
Posts: 36431
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Stop Creation of .bak Files ???

Post 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
Pierre.