Page 1 of 1

Zorin Lite backup

PostPosted: Mon Jan 13, 2020 5:04 pm
by Waco John
image.png
Code: Select all
Uname -or
gives:

5.0.0-37-generic GNU/LINUX

Want to do a disk image backup to attached external usb drive. Using application DISKS. Seems intuitive, but never done this before. To get right to the point, I think I have to unmount /dev/sda1 (the drive/partition to back up (160GB) and mount /dev/sdb1 (500GB)

but:
1. I have never unmounted a partition/drive I am using at the time. Can that be done?
2. Which do I do first, .. mount target then unmount source or unmount source then mount target?
3. Is this entirely the wrong approach?

Sorry for the screenshot. Did not realize I was using dark mode. I hope it is readable.

Re: Zorin Lite backup

PostPosted: Mon Jan 13, 2020 6:41 pm
by Swarfendor437
Hi, I've never used Disks before for backing up. To backup the system in it's entirety I would use rsobackup. You boot off CD or USB and backup system to external drive. ;) :D

Re: Zorin Lite backup

PostPosted: Tue Jan 14, 2020 10:09 am
by MBMz10
I do it using Disks (Gnome Disks) and a 'Live Session USB' and made a video showing how to here: https://www.youtube.com/watch?v=gYpHPe3VAOo
The video is less than 5 min.

I haven't tried it with a distro using a Swap File, only Swap Space but I think it should work unless the swap file is active and can't be deactivated. I suspect there would be a terminal command to de-activeate the swap file if that was the case, but have not looked into this as of yet.

UEFI systems I am not 100% sure of either...never had to recover, yet!

Let me know how it goes if you do it.

Re: Zorin Lite backup

PostPosted: Tue Jan 14, 2020 1:18 pm
by Waco John
thank you both for the tips. Guess you can't do a backup directly from the running OS since both suggestions involve booting from an external device. Funny that DISKS program suggests it can be done. Thank you both again.

EDIT: Maybe someone can further explain that it can be done.
Also, for some reason, not getting Email notifications of responses to subscribed threads. Any suggestions??

Also .. just found this:

4 Ways to Back Up Your Entire Hard Drive on Linux

https://www.maketecheasier.com/back-up-entire-hard-drive-linux/

but haven't tried any of them yet.

Re: Zorin Lite backup

PostPosted: Tue Jan 14, 2020 9:09 pm
by Aravisian
Waco John wrote:thank you both for the tips. Guess you can't do a backup directly from the running OS since both suggestions involve booting from an external device. Funny that DISKS program suggests it can be done. Thank you both again.

EDIT: Maybe someone can further explain that it can be done.
Also, for some reason, not getting Email notifications of responses to subscribed threads. Any suggestions??

Also .. just found this:

4 Ways to Back Up Your Entire Hard Drive on Linux

https://www.maketecheasier.com/back-up-entire-hard-drive-linux/

but haven't tried any of them yet.

Unless you have something installed in Root that is particularly difficult to reinstall or difficult to configure, I admit I see little point in backing up root.
And here is why:
An issue that causes you to have to Wipe and Reload is very likely to be in root. That issue can start taking effect before you are aware of a problem- and after you do a back up.
In which case, you backed up the problem and this could cause all your data to be lost.

I only back up Home folder and if there are difficult to install or configure things in Root- than just copies of those particular files needed.
That way, if anything goes wrong, all my data is more secure. And re-installing software like Gimp or Inkscape or Alien- I pretty much have it all memorized and get it all back on in about ten minutes, anyway.
DejaDup works well enough for me. I do find it a bit superfluous since running it is as energy consuming as doing it myself, anyway. Swarfendor has written some articles on backing up Home folder on another partition or elsewhere, too.

Re: Zorin Lite backup

PostPosted: Tue Jan 14, 2020 10:21 pm
by Swarfendor437
This is how you ensure you get notified about replies (options tab, bottom left of shot):

NotifyMe.jpg

Re: Zorin Lite backup

PostPosted: Wed Jan 15, 2020 6:44 am
by MBMz10
Waco John wrote:Funny that DISKS program suggests it can be done.


Can you point me to where this info might be?


From this site https://www.techrepublic.com/article/ho ... nome-disk/
How to create an image
So if you need to make an image of the primary drive on the system (such as /dev/sda), you will have to run this process from a live instance of Linux.

Which is about what I would have expected, Think you'll need to use a Live USB for the system some how.

Re: Zorin Lite backup

PostPosted: Wed Jan 15, 2020 1:57 pm
by Swarfendor437
Which is why I always recommend using redobackup on sourceforge. ;) :D