After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364324 - Filesystem images support
Filesystem images support
Status: RESOLVED OBSOLETE
Product: gparted
Classification: Other
Component: application
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2006-10-23 01:17 UTC by Amr Hamdy
Modified: 2020-11-13 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Amr Hamdy 2006-10-23 01:17:50 UTC
I'd like to have the ability to backup a filesystem to an "img" file ...
I can see it to be like this;
Right click on a partition 
Advanced >> Make a Backup image

then a wizard opens with such steps;

-step 1; where do you want to put your img file?
there should be a menu containing the filesystems that have enough free space and if the user chose one of them it should be checked for errors and if no errors are there it should be auto mounted then and auoto-umounted after the process finishes ...

-step 2; What kind of compression you want to use? (Note to use this feature you must have at least the filesystem double size free space on the filesystem you will put the image on)
1-No compression(Fastest) 2-Low compression 3-Medium compression 4- Best compression
within advanced menu that's deactivated by default and when activated it asks;
"What kind of compression technology you want to use?"
1-Gzip(Default) 2-Bzip2(Takes much more time but can compress better sometimes)




*this feature can be implemented using "e2image" utility for ext2, and ext3 filesystem ...
I've no idea whether other file system have such tool or not ...
*also there should be a "restore a backup" option ..

I hope I could help :)!
Comment 1 Amr Hamdy 2006-10-25 12:20:36 UTC
I hope someone can reply to this ... and give comments ..
Comment 2 Plors (Bart H) 2006-10-25 13:11:49 UTC
well, i can reply to it, but at this moment i simply don't have the time to implement this.
If you need this urgently you could provide a patch against the latest CVS version  so we can easily incorporate this in gparted.

thanks! :)
Comment 3 Amr Hamdy 2006-10-25 14:09:29 UTC
Hoping I can do it! ... But as I'm going to start learning programming in C and C++ ... so within few months may I can do it 
Thanks lot :)
Comment 4 Amr Hamdy 2006-10-25 16:02:09 UTC
I think I can suggest some other thing regarding this feature ... no problem it won't be implemented soon ...
I think maybe compression of the output directly can save much disk space .. what I mean is;
If you make an image file which took, for example, 1024 MB then you tried to compress it as a "next" step by gzip ... you will have to have enough disk space for compression ... so at some moment the backup process will need more than 1024 MB .. a range from 1250MB to 2028 MB will be needed approximately ... but what about output redirection?
for example;
e2image -r /dev/hda1 - | gzip /mnt/hda1.img.gz
and the same for bzip2 .... 

but this currently can only be used with raw images ... and it needs proper testing ... any way it can be an option for those who don't have free double space ...
I've tested it a it really does an amazing compression .. that's just incredible!
Comment 5 Phillip Susi 2012-02-17 18:08:11 UTC
e2image only copies FS metadata, and leaves the rest of the file filled with zeros, which is why it compressed so well ;)

I submitted a patch to e2image yesterday to be able to include all data so that it can be used to clone a filesystem like this.

Hopefully once it is released, gparted can be extended to detect and use it when copying partitions to speed things up, and maybe to image to/from image files.
Comment 6 André Klapper 2020-11-13 10:40:47 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use gparted and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/gparted/-/issues/
by following the guidelines at
https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines

Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).