Jump to content

PDNBAK Files


ninjamax237

Recommended Posts

So occasionally I'm working on something, then I save and close it, and there's this weird file. If the image is called Panda(.png) then there will be a PDNBAK file called Panda.png.0.pdnBak, I don't know what it is but judging by the "BAK" thing, it may be a backup, which I don't need since I just saved and closed the file. I can't open it or delete it (the bak file; the normal one works fine), and it's just sitting there. It doesn't seem to affect anything, but my folders are crowded enough and it's really annoying.

Also, I had this problem before once and it was fixed, but I don't remember how.

Any help is appreciated!

post-103484-0-55768900-1370891882_thumb.

Edited by ninjamax237

It's like Paint, but on steroids.

Link to comment
Share on other sites

When you save, Paint.NET first writes the data to a ".pdnSave" file. Then, it renames the original file to ".pdnBak", and renames the ".pdnSave" file to original file name. Then it deletes the ".pdnBak" file. With this procedure, if there's an error/crash while saving, it won't overwrite/corrupt/destroy the original file contents. 

 

If you still have "pdnbak" files getting littered around, then most likely you have an over-anxious antivirus scanner which is locking those files and preventing Paint.NET from deleting them. You can safely delete them yourself, of course.

 

Note that the algorithm described above is not always used, depending on circumstances, and is not guaranteed to be used or be unchanged in the future (this is simply a pre-emptive liability check against anyone hoping to take a dependency on this behavior).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

For whatever reason, I can't delete them manually. It asks for admin permission (I'm the admin) and then it gives an error message.

 

In any case, the pdnbak files have disappeared, so everything's okay.

It's like Paint, but on steroids.

Link to comment
Share on other sites

Then something has locked them, like your anti-virus (the usual suspect) or the indexer (which is what powers "search"). This isn't Paint.NET's doing. Anyway at least you got rid of them!

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 3 years later...
  • 11 months later...

2 colleages of mine has got the same version of paint.net, one never has the .bak issue and the other always get's that.bak file.

Both have the same virusscanner. The bak file cannot be deleted, even if you are administrator.

If you delete the file as administrator it does not gets removed, after reboot the file is gone. But when you reopen a file and change something again you will get this bak file (on the same location where the real file is saved).

Can anyone help please, can we remove, disable the bak option?

Link to comment
Share on other sites

  • 4 weeks later...

it just started after the latest upgrade. Ive been using paint.net and my antivirus together for a long time. I have never had this problem before....Are youplaing politicianand passing the buck?

Link to comment
Share on other sites

  • 2 weeks later...

Hi Folks,

I hit this unusual situtation as well on a Windows 7 pro machine, I have two .pdnBak files of which I cannot delete or take ownership. Access denied.

Procexp shows no threads open that are using these files, and they are exempted both from Indexing and realtime virus protection (ThreatTrack's Vipre)

I have not yet tried reboot, but will try that and update the thread. I feel like this is unlikely to resolve, but since I cannot see the actual file DACL I do not know for sure that nothing has permission to these files. However, as a member of the local admins group I find it concerning that I cannot take ownership, even as the local administrator account.

I am wondering if the auto backup feature can be disabled by changing a config file in either the program files or my profile settings for the program.

Many thanks!

 

Link to comment
Share on other sites

These files are created to ensure data protection when saving. Here's Rick's explanation

 

 

Try turning off your AV and try deleting them.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...