obsidian-local-backup icon indicating copy to clipboard operation
obsidian-local-backup copied to clipboard

Use of environment variables in backup path

Open danielhofer opened this issue 2 years ago • 5 comments

Hello I'd like to backup my vault on different computers with different backup paths. I tried to create an environment variable %obsidian_backup_path% but it seems that your local backup can't parse this.

Does anybody have an idea how to define different backup paths? Yes, I sync my plugins and I think I can't turn off the sync for just one plugin. That would be a solution as well.

Thanks Daniel

danielhofer avatar Dec 21 '23 11:12 danielhofer

Hi, sorry for replying to you so late, this feature may be added in the future, but not yet as I've been busy lately. I would suggest that you set up the same storage path on both computers so that you can use the same local backup configuration.

velviagris avatar Dec 26 '23 01:12 velviagris

Does the unix backup path support $HOME so I can sync the path between linux and Mac systems?

laydros avatar Aug 15 '24 21:08 laydros

Does the unix backup path support $HOME so I can sync the path between linux and Mac systems?

Not yet.

velviagris avatar Aug 16 '24 02:08 velviagris

Does the unix backup path support $HOME so I can sync the path between linux and Mac systems?

This, or, at the very least, it should support tilde, so that something like ~/Backups/Obsidan can be set across Linux and Mac OS.

jldevezas avatar Nov 25 '24 15:11 jldevezas