Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Portable mode for Windows #9

Open
macronimus opened this issue Mar 29, 2024 · 2 comments
Open

[Feature request] Portable mode for Windows #9

macronimus opened this issue Mar 29, 2024 · 2 comments

Comments

@macronimus
Copy link

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
Copy link
Owner

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants