Closed vduseev closed 4 years ago
Thanks for checking it out @enkore . I read up on src
-based layouts and see the benefits. Will change it today.
Some progress today:
Too late for a proper release today, but hoping to get it in front of beta users in a few days.
Any other features that could be worth including?
Tried to install vorta different ways. Unfortunately all failed.
OSX prebuilt binary gives
File "vorta/application.py", line 20, in __init__
File "vorta/scheduler.py", line 14, in __init__
File "vorta/scheduler.py", line 19, in reload
AttributeError: can't set attribute
[93565] Failed to execute script __main__
Sentry is attempting to send 1 pending error messages
OSX from git clone gives
load_entry_point('vorta', 'gui_scripts', 'vorta')()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 484, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2714, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2332, in load
return self.resolve()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2338, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'vorta'
Linux from pip install gives pretty much the same
load_entry_point('vorta==0.2.3', 'gui_scripts', 'vorta')()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 484, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2725, in load_entry_point
return ep.load()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2343, in load
return self.resolve()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2349, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'vorta'
@m3nu any idea ?
Hi Matthieu, thanks for testing.
It seems I caused some packaging issues after trying to put too much in setup.cfg
. When I moved some of the options back to setup.py
, it worked as expected.
Regarding the issue on macOS, you may have an old version. Unfortunately I didn't include a version number in my Sentry error reports before. I've changed that now. Since your errors first appeared 2 days ago, that may be the reason. Did you try the latest build from Github?
To summarize:
Hi Manuel
Thanks for your quick answer ! I downloaded latest OSX binary and I confirm the app now launches successfully.
OSX from pip package works too (got version 0.2.8).
Linux from pip package (got version 0.2.8) now fails with a message complaining about the absence of file /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist :-)
Now that I have a version that works, I did some testing on OSX binary. Overall, Vorta looks very promising to me. I especially like to have it directly in the menubar (a different icon while backup is running would be a nice addition). Thanks for the very good work you did !
Here are some unexpected behaviors I spotted (maybe some of them are simply not-yet-implemented) :
Thanks again !
Good to have it working (sort of) now. I'll look into the stuff you noticed and everything that came in on Sentry. Another user was testing on macOS as well. In short,
For the smaller things you reported, I'll have an update out later today.
I now realize that a desktop-app is much harder than a web-app because debugging and updating is more tricky. Still finding the best ways to tackle this.
One more note since I saw some database-errors: I added database schema migrations a few versions ago. Settings DBs created before this change won't fully work when leaving out some versions.
You probably noticed this and deleted ~/Library/Application Support/Vorta
(or the equivalent on Linux). This only affects those who installed an early version and then went to a very recent one. In all newer builds the database is versioned and will migrate the schema before starting.
Collecting GUI-related bugs here: https://github.com/borgbase/vorta/issues
Large update to support multiple profiles and local repos: https://github.com/borgbase/vorta/releases/tag/v0.4.0
Looking to focus on bug-fixes and getting Linux-support into better shape over the next days.
After a long time of work I am now handing over a completely new version of BORG BackUP GUI.
Compared to the previous version the version 0.8 is extremely extended and automated to make it possible for a new version to do everything via the GUI.
A detailed overview (with videos) can be found in the Wiki section: https://github.com/MTrage/Borg-BackUP-GUI/wiki/Short-instruction
In order to make it easier for other developers to use BORG BackUP GUI as a basis for their own ideas, the license model was changed to GPL-3.0.
Just to let everyone know that I've started my diploma project today. However due to the fact that so many now have started to create a GUI I unsubscribed from this issue. It's just too tempting to look at the code you guys create :).
However I will post here from time to time to keep you updated how it is going. At minimum when I start the main repository with the code.
@Nebucatnetzer, my intuition was to provide a basis on which to build or develop.
Nevertheless I am curious what you will develop in the future. I keep my fingers crossed for you and wish you a lot of fun in realizing your new goal.
Greetings Marc
@MTrage, I hope you understood your post correctly. I'm still going to develop the GUI for borg as part of the project. However because there are now so many similar projects making the rounds I would like to minimize the chance that I copy of you guys.
After I'm finished with the project I'm more than happy to work with you guys :)
@Nebucatnetzer copy it, I won't tell anyone! °D Borg Backup offers so many features that you can still use or embed, many of them I didn't use either. Either way I am curious about your work.
@Nebucatnetzer there is nothing bad copying something. Even during a diploma thesis. There is no point reinventing the wheel.
Greetings, Hendrik
@henfri sure to a certain point you're right.
Anyway, I've created now the main repository where the project will live. You can find it here: https://github.com/borg-qt/borg-qt
Hey guys,
Another small update from me. As promissed I translated all the targets for the application. You can find them here: https://github.com/borg-qt/borg-qt/blob/master/docs/todos.org
In addition here are some screenshots of the UI. At the moment the settings part is working. Next I'm going to start working on the part which controls BorgBackup.
Two strangest things so far have been that configparser doesn't provide the functionality to read/write lists and the QtListWidget doesn't have a method which returns all it's items in a list. However for both of them I found workarounds.
Hey guys another little update from my side. I've uploaded now the first binary. For the moment I'm done with coding and have to focus on finalizing the thesis.
Currently it contains the following functionality: Creating, restoring, deleting and mounting archives. Graphical configuration for the provided options and for me most importantly background backups through systemd timers.
There is a lot of room for improvement and I'm looking forward to all constructive inputs so that I can improve the application further after the thesis is finished.
I am closing this as solved, there are multiple GUIs now for borg.
All of them should be linked from the community repo. If not, please do an update PR there.
Idea of GUI client
Create a simple desktop application that executes
borg
behind the scenes and runs the very basics of backups.Goal
Aimed at users with no understanding of backup tools, directory structures, ssh, backup algorithms, etc. Allow them to run their favorite backup tool on any platform.
Proposed tech stack
borg
executed assubprocess
underneathUpd (8/24/2017):
require borg >= 1.1.0rc1 (and later >= 1.1.0)
--json(-lines)
Basic requirements
,Windows
MacOS X
,Linux
,FreeBSD?
Available target platforms for Qt
Note: Qt is not targeting FreeBSD as of latest 5.9 version
Development plan
I'd like to start on this project and create a separate repository for the Desktop GUI. I suppose "borgbackup" can then fork my repository.
Looking forward to any ideas and comments about requirements for such desktop client.