cgcel / obsidian-local-backup

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

Unclear: Backup history length (days) #27

Closed mdelgadoschwartz closed 4 months ago

mdelgadoschwartz commented 5 months ago

Hi,

It is not clear how the backup's are being made. There is a switch that allows one to specify the days a backup should be retained... but does it do so even when there is only one backup remaining?

For example, when in one day three backups are made, but then Obsidian is not used for a week, at the start up of Obsidian a week later, are the three backups deleted before or after a new "fresh" backup has been made?

Thanks in advance for clarifying!

cgcel commented 4 months ago

Hello, thanks for using this plugin, and sorry for the late replying:

It is not clear how the backup's are being made. There is a switch that allows one to specify the days a backup should be retained... but does it do so even when there is only one backup remaining?

Up to version 0.1.7, yes it does.

For example, when in one day three backups are made, but then Obsidian is not used for a week, at the start up of Obsidian a week later, are the three backups deleted before or after a new "fresh" backup has been made?

The backups will be deleted after a new backup created.

mdelgadoschwartz commented 4 months ago

Ah, perfect. Thanks for clarifying!