alexheretic / apart-gtk Goto Github PK
View Code? Open in Web Editor NEWLinux GUI for cloning & restoring disk partitions to & from compressed image files
License: GNU General Public License v3.0
Linux GUI for cloning & restoring disk partitions to & from compressed image files
License: GNU General Public License v3.0
Currently we have a button per action on a historic task. This takes up room, introduces visual inconsistency and is difficult to add to.
Instead a single 'burger' menu button with text actions could address the above issues.
apart-core uses lsblk -Jbo name,size,fstype,label,mountpoint,uuid
. Old versions of lsblk don't support json.
The GUI should work with Ubuntu >= 17.04. Need to create a .deb building script from source.
I just installed the latest version (v0.25) and it looks like there are some HTML tags stuck in the title text. I'm using the Eddy package manager on Pop_OS! and the full text when installing is <b>GUI for cloning & restoring disk partitions to & from compressed image files</b>
POP Linux
Mapped NTFS source disk (local)
after selecting image file getting following error in terminal:
ERROR apart_core::server] RestoreJob creation failed: /usr/sbin/partclone.ntfs.81.4GiB not found
Probable cause: file was renamed manually
Without renaming restore works fine
i see i have the option to save to file
but i do not see how do i clone directly to destination block device
is this possible? if not, is it on the roadmap?
thanks!
Hi,
I have managed to compile apart-gtk on a CentOS 7.9 machine, but it doesn't run. All the required dependencies are satisfied, I have also manually upgraded python36-zmq (and zeromq), but the following error msgs are produced:
Case-1: required deps (zeromq 4.1.4 provided by distro) along with manually upgraded python36-zmq v15.3.0
$ apart-gtk
[2023-05-09T07:32:36Z ERROR apart_core] Core failed: json invalid: Unexpected end of JSON
Traceback (most recent call last):
File "/usr/bin/apart-gtk", line 60, in on_status_msg
self.on_delete()
File "/usr/bin/apart-gtk", line 93, in on_delete
self.core.kill()
File "/usr/lib/apart-gtk/src/apartcore.py", line 101, in kill
self.socket.send_string('type: kill-request')
File "/usr/lib64/python3.6/site-packages/zmq/sugar/socket.py", line 420, in send_string
return self.send(u.encode(encoding), flags=flags, copy=copy)
File "socket.pyx", line 636, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:6262)
File "socket.pyx", line 683, in zmq.backend.cython.socket.Socket.send (zmq/backend/cython/socket.c:6027)
File "socket.pyx", line 206, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2548)
File "socket.pyx", line 201, in zmq.backend.cython.socket._send_copy (zmq/backend/cython/socket.c:2437)
File "checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:7015)
zmq.error.ZMQError: Socket operation on non-socket
Case-2: with manually upgraded zeromq (v4.3.4) and python36-zmq v22.3.0
$ apart-gtk
[2023-05-09T09:43:26Z ERROR apart_core] Core failed: json invalid: Unexpected end of JSON
Traceback (most recent call last):
File "/usr/bin/apart-gtk", line 60, in on_status_msg
self.on_delete()
File "/usr/bin/apart-gtk", line 93, in on_delete
self.core.kill()
File "/usr/lib/apart-gtk/src/apartcore.py", line 101, in kill
self.socket.send_string('type: kill-request')
File "/usr/lib64/python3.6/site-packages/zmq/sugar/socket.py", line 718, in send_string
return self.send(u.encode(encoding), flags=flags, copy=copy, **kwargs)
File "/usr/lib64/python3.6/site-packages/zmq/sugar/socket.py", line 547, in send
return super(Socket, self).send(data, flags=flags, copy=copy, track=track)
File "zmq/backend/cython/socket.pyx", line 718, in zmq.backend.cython.socket.Socket.send
File "zmq/backend/cython/socket.pyx", line 759, in zmq.backend.cython.socket.Socket.send
File "zmq/backend/cython/socket.pyx", line 135, in zmq.backend.cython.socket._check_closed
zmq.error.ZMQError: Socket operation on non-socket
Am I missing something. Thanks in advance.
I just installed apart-gtk
0.24-1 from the AUR on Manjaro GNOME:
❯ apart-gtk
thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<yaml::Yaml, yaml::Yaml>` uninitialized, which is invalid', /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/mem/mod.rs:671:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'attempted to leave type `linked_hash_map::Node<yaml::Yaml, yaml::Yaml>` uninitialized, which is invalid', /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/mem/mod.rs:671:9
stack backtrace:
0: 0x556db645bdb4 - <unknown>
1: 0x556db63ed77c - <unknown>
2: 0x556db6458c02 - <unknown>
3: 0x556db645d765 - <unknown>
4: 0x556db645e019 - <unknown>
5: 0x556db645d96e - <unknown>
6: 0x556db645c44c - <unknown>
7: 0x556db645d90d - <unknown>
8: 0x556db63ec211 - <unknown>
9: 0x556db63ec15d - <unknown>
10: 0x556db6485a0c - <unknown>
11: 0x556db63ce2ae - <unknown>
12: 0x556db63e174a - <unknown>
13: 0x556db63e38c4 - <unknown>
14: 0x556db63ddeb0 - <unknown>
15: 0x556db63cccef - <unknown>
16: 0x556db63dc53f - <unknown>
17: 0x556db645e640 - <unknown>
18: 0x556db63de0e2 - <unknown>
19: 0x7f4a467e2b25 - __libc_start_main
20: 0x556db63c507e - <unknown>
21: 0x0 - <unknown>
thread panicked while panicking. aborting.
Running with RUST_BACKTRACE=1
produced exactly the same output.
Should be able to support >= current Fedora with a rpm package. Need a script to create one from source.
For longer running backups/restores that are left in the background it would be nice to see a system notification when the task(s) are complete.
Currently history is persisted on exit. If the app is killed the history won't be up to date even for jobs completed a while before the kill.
The app should update the history after each job success, or at some point during a run to prevent this.
Since clones are generally meant to be rerun again and again over time, it'd be nice for the history view to allow managing these more easily.
The history is currently a list ordered with the most recent task at the top.
v0.16
History
- sda1 arch -> /mnt/backups - 2 days ago
- Image file arch-2017-09-11...
- Image size 6 GiB
- Runtime 0:02:00
- sda2 ubuntu -> /mnt/backups - 2 days ago
- sda1 arch -> /mnt/backups - 9 days ago
- sda2 ubuntu -> /mnt/backups - 9 days ago
- sda1 arch -> /mnt/backups - 16 days ago
- sda2 ubuntu -> /mnt/backups - 16 days ago
For this kind of usage it'd be more useful to group, something like:
future version
History
- sda1 arch -> /mnt/backups - 2 days ago (3 total)
- sda2 ubuntu -> /mnt/backups - 2 days ago (3 total)
Which would expand on a single click to:
future version
History
- sda1 arch -> /mnt/backups - 2 days ago (3 total)
- 2 days ago
- Image file arch-2017-09-11...
- Image size 6 GiB
- Runtime 0:02:00
- 9 days ago
- Image file arch-2017-09-04...
- Image size 5.9 GiB
- Runtime 0:02:02
- 16 days ago
- Image file arch-2017-08-28...
- Image size 5.8 GiB
- Runtime 0:01:54
- sda2 ubuntu -> /mnt/backups - 2 days ago (3 total)
This grouping will only be for successful clones. Restores, in progress & failed ones will still be separate.
It should pave the way for a little group management too, ie delete all/clear all (in the example deleting/forgetting all 3 clone images). Also some conveniences like a settings for 'keep latest n clones after re-running'
Hi,
I have 3 different partitions with Lubuntu 14.04 (sda3) / 16.04 (sda2) and 17.10 (sda1),
I installed apart-gtk on sda1 (17.10), I backup the other two partitions, but
how do I backup 17.10 now ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.