Zorin Lite backup

Zorin Lite backup

Postby Waco John » Mon Jan 13, 2020 5:04 pm

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.
User avatar
Waco John
 
Posts: 6
Joined: Sun Dec 29, 2019 4:51 pm

Re: Zorin Lite backup

Postby Swarfendor437 » Mon Jan 13, 2020 6:41 pm

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
https://vimeo.com/user15592214
https://www.deviantart.com/swarfendor437
https://trisquel.info/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 11093
Joined: Wed Sep 18, 2013 5:51 pm

Re: Zorin Lite backup

Postby MBMz10 » Tue Jan 14, 2020 10:09 am

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.
Linux eXspert: Where "X" is the unknown and "spert" is a drip under pressure.
User avatar
MBMz10
 
Posts: 421
Joined: Sun Dec 13, 2015 12:14 pm

Re: Zorin Lite backup

Postby Waco John » Tue Jan 14, 2020 1:18 pm

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.
User avatar
Waco John
 
Posts: 6
Joined: Sun Dec 29, 2019 4:51 pm

Re: Zorin Lite backup

Postby Aravisian » Tue Jan 14, 2020 9:09 pm

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.
User avatar
Aravisian
 
Posts: 1411
Joined: Sun Dec 30, 2018 6:51 am

Re: Zorin Lite backup

Postby Swarfendor437 » Tue Jan 14, 2020 10:21 pm

This is how you ensure you get notified about replies (options tab, bottom left of shot):

NotifyMe.jpg
User avatar
Swarfendor437
 
Posts: 11093
Joined: Wed Sep 18, 2013 5:51 pm

Re: Zorin Lite backup

Postby MBMz10 » Wed Jan 15, 2020 6:44 am

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.
Linux eXspert: Where "X" is the unknown and "spert" is a drip under pressure.
User avatar
MBMz10
 
Posts: 421
Joined: Sun Dec 13, 2015 12:14 pm

Re: Zorin Lite backup

Postby Swarfendor437 » Wed Jan 15, 2020 1:57 pm

Which is why I always recommend using redobackup on sourceforge. ;) :D
https://vimeo.com/user15592214
https://www.deviantart.com/swarfendor437
https://trisquel.info/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 11093
Joined: Wed Sep 18, 2013 5:51 pm

Return to Help and Support

Who is online

Users browsing this forum: No registered users and 6 guests