-
Notifications
You must be signed in to change notification settings - Fork 157
Unable to see or modify some repository settings, e.g. "extra borg arguments" #1963
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
Comments
@shivansh02 Thank you for the mock-ups! With respect to the user interface, I would reserve the right field for information only. Note that another repo-setting that could be editable, via this edit button could be the "Repository Name" - which, at the moment, cannot be changed after the setup. |
You're right, that is a much better place to put it. I'll send an updated mockup with this and the Edit Repo Dialog once @m3nu gives his inputs. |
Related to #1663. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It's unfortunate that issues are automatically closed, on the basis that nobody is currently working on the issue. Some projects also use a "good first issue" tag, to signal that |
We can leave it open, if there is interest. All issues with tags added stay open. |
With Vorta 0.10.1 once a new repo with extra borg arguments has been created, there is no way to see or edit these extra arguments - this can be inconvenient when you have to check/ change/ adapt the borg arguments. Currently, the workaround would be to create a new repo (with different extra borg arguments). :-( Perhaps Vorta could implement something similar to Schedule > Shell commands, where one can always see/ edit the extra borg arguments for borg-create? If the current state is considered to be an issue that should be fixed, this issue should stay open. |
While this issue is about "extra borg arguments" at the level of the repository, the same applies to other repository settings - that are set in the "Add New Repository"-dialogue. Currently, once the repo has been added, there are no easy means to see all the settings - and the user cannot easily check or change the repo-settings. In Vorta (0.10.3) only the following repo-setting can be seen and changed:
Here is a list of the repo settings that cannot be changed via the Vorta GUI, after the initial setup:
|
Vorta GUI (0.10.3) does not allow to "delete" repositories There is also the possibility to delete the repo / directory manually, however, this This could be another potential enhancement for (advanced) repo settings dialog. |
Editing configurations would be helpful, especially --remote-path configurations for borg. Even if it's not available on the GUI, is there a way to change it via CLI, in a configuration file? |
The following workaround can be used: 1. Export the current settings (per profile):
2. Edit the resulting .json-file
3. Rename and re-import the .json-file with the new settings
Disclaimer: It might be necessary to unlink the repo from the profile, in order to recreate a repo with different settings. |
See also the discussion #811 |
I'm adding a dropdown menu in my PR here. Maybe the options mentioned here could be implemented in that dropdown later? and we can keep the UI simple and tidy. |
Thanks a lot! Keeping the UI elements versatile is a good idea. |
Another workaround, on Linux, is the use of the "DB Browser for sqlite" aka "sqlitebrowser" to edit the database (DB) with the Vorta settings directly:
Disclaimer: Use with care, since this will edit the SQLite settings.db of Vorta directly. So there is no sanity checking of any kind. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Some important repository setting can only be seen and edited in the UI when a new repo is initialised.
Example:
Depending on the backup server, "extra borg arguments" are required for a repository.
Examples for the use of "extra borg arguments":
--remote-path
argument is required.When adding a new repository, the advanced tap offers a field for "extra borg arguments" in the UI - this works well.
Currently, I see two related issues with the "extra borg arguments" in Vorta:
a) Once the repo is initialized, the "extra borg arguments" for the repository cannot be seen in the UI.
b) After initializing, it is currently not possible to edit/ change the "extra borg arguments" for an existing repo in the UI.
Expected behaviour / possible enhancements:
All the repo settings and options should be visible.
The user should be able to modify the setting.
In our example:
for a) The "extra borg arguments" for a repo could be shown in the UI, e.g. on the right side (Info field) of the repository tab
for b) Allow to change/ edit the "extra borg arguments" for a repository
Workarounds:
for a) - i.e. "extra borg arguments" cannot be seen in the UI
Select the profile
Export settings of the profile / repo (using Vorta) to a .json file
Open the .json file to see the "extra borg arguments" for the repository
Delete the .json file
for b) - i.e. cannot change "extra borg arguments" in Vorta
Create a new repository, with different "extra borg arguments"
or:
Export settings to a .json-file, modify the setting using a text editor, rename and re-import the settings using the .vort-init.json file. See #1963 (comment)
Environment
The text was updated successfully, but these errors were encountered: