resticity icon indicating copy to clipboard operation
resticity copied to clipboard

[Feature request] Portable mode for Windows

Open macronimus opened this issue 1 year ago • 2 comments

Hi, A feature request. Make it work in total portable mode on Windows. Have all executables and configurations in a single folder and/or subfolders. I want to run this from a portable USB drive.

Regards M

macronimus avatar Mar 29 '24 09:03 macronimus

Resticity itself depends on restic and rclone, so it might work. However, I don't know how restic and rclone themselves behave in that manner, and whether their portable version works in that case.

ad-on-is avatar Mar 29 '24 09:03 ad-on-is

There is a restic Windows executable avaialble. I think it can be run with CLI. Same for rclone. So I think it should be possible. "All " that would need to be done is have any configuration file Resticity need in a file relative next to resticity.exe. And simplest would be to search (by default) for rclone.exe and restic.exe in same place.

Example: C:\Backup
+-- repository/ +-- resticity.config +-- resticity.exe +-- rclone.exe +-- restic.exe

Resticity would detect that repos are in subfolder of executable and store it as a relative path. When changing computer/drive/folder it would not change where it would search for repo.

macronimus avatar Mar 29 '24 10:03 macronimus