Apple Mac DMG password protected folders/disk image NOT backep up

Hi

The situation:

I have several password protected folders on my mac. These are encrypted DMG images. I use them to store personal things and normally remain closed. To access their information or store new dat, I need to enter a password for the Finder to open folder… When done I close the image

The Problem:

After several months of using Duplicati, I found this morning to my horror that these DMG files are not being backed up - I suspect because DMG files are also install files and as such not backed up. What I find especially confusing is the fact that these DMG files are marked/highlighted for backup.

Help Question 1:

How do I explicitly tell Duplicati to include those DMG files. I tried, for example, the filter: include file extension = dmg but all that does is ONLY to include files with that extension, the rest of files, with different extensions are ignored… Thoughts?

Question/Doubt 2:

What happens to that DMG container when i make changes or additions inside? Since Duplicati has no way of knowing what changes have happened inside, will only the first version be backed up?

As always, tks in advance

P

That sounds very strange. Do you get any warnings or similar?

If not, try to add --log-file=/path/to/log.txt and --log-file-log-level=Verbose to the backup’s advanced options. Then run the backup.

The log file now has a lot of detail on what has happened. Search for the filename of the missing file, and see if there are any entries that that says why it is skipped.

By default, Duplicati does not exclude anything.
When you add only include filters, Duplicati thinks that you want to exclude everything else (otherwise the filter has no effect).

Duplicati treats the .dmg file as any other file. It reads whatever is on the disk and makes a backup of that. If the .dmg file has changed, the new version is backed up so you can restore either version.

Thanks for your quick reply!

I now know what happened:

  • I left the DMG file open for a day. Duplicati was not able to backup the file that day - and generated a warning.
  • When I search for the DMG file for that day, well, its not there.
  • If I search for the file the day before/after/a month ago, the file is there…
  • When I open the DMG from a month ago I see the contents of that time, when I open the DMG made today, it is today’s version… So regardless of the changes made inside the locked DMG, Duplicati does its stuff!

Sorry to have wasted your time - my bad :flushed_face: At the time I did not understand the implication of that warning.

There was never an issue…

Rgds

P