ad-on-is / resticity

A beautiful cross-platform UI for restic backup.
GNU General Public License v3.0
65 stars 2 forks source link

[Feature request] Portable mode for Windows #9

Open macronimus opened 7 months ago

macronimus commented 7 months ago

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

ad-on-is commented 7 months ago

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.

macronimus commented 7 months ago

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.