cgcel / obsidian-local-backup

Automatically creates a local backup of the vault.
MIT License
33 stars 1 forks source link

Error message in developer console: Failed to create file by 7-Zip: Error: Command failed: #22

Closed merlinuwe closed 6 months ago

merlinuwe commented 6 months ago

Thanks for your great plugin.

When I look into the developer console, I see this error-message:

image

I guess, it has something to do with ending and restarting Obsidian.

(I use the latest release of Obsidian and your plugin.)

Is there something I can adjust in the settings to prevent this message?

cgcel commented 6 months ago

Hello, according to your screenshot, it looks like the plugin "codeblock-customizer" is editing it's data.json, so 7-Zip couldn't create an archive file.

merlinuwe commented 6 months ago

Do you think it makes sense to retry the backup due to such access at a later point in the backup history (before the backup fails)?

cgcel commented 6 months ago

I think it's possible to add a customized retry count (e.g. up to 3 retries after backup failed).

cgcel commented 6 months ago

The latest version 0.1.6 released and adds retry settings, hope this helps.

merlinuwe commented 6 months ago

Thank you very much, I'll test it with these settings:

image