cgcel / obsidian-local-backup

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

"Failed to create vault backup" error #12

Closed Marco-Mindstone closed 8 months ago

Marco-Mindstone commented 8 months ago

After last update I get this error:

image

cgcel commented 8 months ago

Hi, could you share your settings of the plugin?

Marco-Mindstone commented 8 months ago

Hi, sure. Here they are:

image

Thank you for the support

cgcel commented 8 months ago

Hi Marco, sorry for the late replying, I can't reproduce your error, maybe my vault is too small (My main vault is about 7MB and my test vault is about 22MB), what size is yours?

Marco-Mindstone commented 8 months ago

Hi, it's 2.46 GB.

cgcel commented 8 months ago

Thanks for your replying! I'm going to change the way generating the zip file from open directory directly to create an io stream and write into zip file, hope this can help😊

Marco-Mindstone commented 8 months ago

Sounds good! I will test it and let you know as soon as you release the update πŸ˜‰

cgcel commented 8 months ago

Hi, 0.0.9 released, you can try the experimental feature, Backup by 7-Zip, if toggled, backups will be created by calling 7zip, and obsidian won't stuck any more if everything goes well.

Marco-Mindstone commented 8 months ago

Perfect! It works. Thank you πŸ˜‰