Files with Extension .mogrt are not saved in backup

Hi all

I have recognized that files with extension .mogrt are not saved in backup even if the are selected as source-files.

If the “temporary files” filter is deactivated, these are included in the backup. Apparently these files are considered temporary. Backing up all “temporary files” is not a sensible solution for me.

Which file types (extensions) are considered temporary by Duplicati?
What can I do to ensure that these files are included in my backup?

Thanks for your help.

Welcome to the forum @aetobatus

If you mean

This is not extension-based (or name-based, or path-based). This is likely on Windows, which allows files to have attributes. You can see them by adding that Explorer column:

Although the attrib command can handle some attributes, oddly it doesn’t do Temporary which probably means you would have to ask your .mogrt file maker why they did that.

Looking on my entire system with attrib:T in a slow Everything search, 1/10 of 1% of content on drive has Temporary attribute, and above image of my %TEMPDIR% shows programs that put temporary files there generally don’t bother using it. It’s on only 3 files.

Duplicati considers them temporary because their maker or something set that attribute.

Don’t exclude them, or ask your program provider if you can make them non-Temporary.

What do you consider a temporary file, and are you sure? There are no guaranteed rules.

You can see two popular conventions in my image. The Windows Temp folder is meant to hold temporary files, and I think Windows has tools to clean it. Files can also end in .tmp.

Filtering based on path/name factors like Folder or Extension is available in Filters section:

Filters in Duplicati covers this (but doesn’t get into Exclude section like old manual did).

Predefined filter groups may be interesting, but if you do your own you know what it was.

TemporaryFiles

Files that are stored temporarily by applications as part of normal operations

What’s there is pretty old, and might change, but Commandline below will show:

The one I get looks like it assumes naming conventions like Temp start or .tmp suffix.
If your temporary files have simpler or different names, you can also add custom filters.

1 Like

Thanks a lot!

I didn’t know about this T attribute. Your explanation helps me a lot to understand how Duplicati works.
I was afraid that this was caused by a “hidden” filter list and that other file types could also be affected.

Your explanation confirms my expectations of a backup solution and I am very reassured.

2 Likes

For better or worse, these are few. The only one I know of is that it will filter our the SQLite database journal file for the currently running job because it causes hangs. It’s pointless to backup any part of active job database anyway because it’s soon outdated as backup runs.

v2.0.9.109_canary_2024-11-06

Always excluding the SQLite journal file for the active database

Although maybe only journal causes hangs, I’m not sure why whole DB wasn’t excluded.

Even Windows barely knows about it. The attrib command doesn’t, nor does File Explorer right-click Properties

image

Given that even my Temp folder had just 3 files (62 files on the drive) with it, I’m wondering if it causes more confusion than it’s worth? Also, the whole distinction between path-based and attribute-based Filter/Exclude isn’t clear in the GUI, but the new one (in test) got worse because the not-in-the-manual attribute section is more visible, so more inviting to be used:

1 Like