No Program Files

Discussion in 'all things UNIX' started by bellgamin, Feb 14, 2023.

  1. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,112
    Location:
    Hawaii
    There's a program called Disks on my Linux Distro (Zorin). Theoretically, Disks lets me do what I want to do -- namely, to image my system disk to an external SSD.

    However, when I tried to do this, Disks said that I cannot image the system disk because it is mounted. Since the Disks app is on my systems disk, I guessed that Disks can't image the same disk that Disks is running from.

    So I figured -- just copy the Disks app from my system disk to a second internal drive (yes, my Linux laptop has 2 internal drives). PROBLEM: I have no idea how to find the Disks app in order to copy it. Unlike Windows, Linux has no Programs file, so my Windows know-how is fairly useless for Linux.

    REQUEST: Please -- any & all comments or suggestions will be very very much appreciated.
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,279
    Location:
    NSW, Australia
    bellgamin,

    Forget it. You can't create a reliable backup image of a mounted Linux partition. Use a bootable UFD to create the backup image.

    I have several Linux partitions. I can use IFL in one Linux distro to backup image another non mounted Linux partition.
     
    Last edited: Feb 14, 2023
  3. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,112
    Location:
    Hawaii
    UFD=USB Flash Drive & IFL=Image for Linux

    For Windows, imaging is THE foundation for computer security against infections, drive failures, & pretty much anything else that gets screwed up. Yet Linux is miles behind Windows in this VERY major aspect.

    Using Zorin Distro, I have every other major requirement of an OS already configured to my preferences & running quite nicely. However -- for me -- the lack of a user-friendly method of imaging is VERY off-putting.
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,279
    Location:
    NSW, Australia
    I'd argue creating a backup image from a bootable UFD is user friendly. Very straight forward.

    In an earlier thread we discussed creating automated backups from a UFD. Now that isn't user friendly but it is automated. You don't have to use the GUI. Just boot the UFD and the backup happens.
     
  5. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,112
    Location:
    Hawaii
    I searched for that thread but couldn't find it. Do you have a link?
     
  6. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,279
    Location:
    NSW, Australia
  7. Stupendous Man

    Stupendous Man Registered Member

    Joined:
    Aug 1, 2010
    Posts:
    2,897
    Location:
    the Netherlands
    bellgamin,
    Apart from TeraByte Image for Linux there are more options for system imaging, of course, but the ones I know and use need to be run as bootable USB flash drive.
    Myself, I use Clonezilla. If one doesn't like the Clonezilla user interface, Rescuezilla is an alternative with a friendlier UI, and there's also Redo Rescue.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,279
    Location:
    NSW, Australia
    In the above link, ignore this...


    ...and use this to do automatic backups.

     
  9. cloggy49

    cloggy49 Registered Member

    Joined:
    Oct 6, 2015
    Posts:
    93
    Location:
    The Netherlands
    You can also use Veeam Agent for Linux...is free and can perform incremental image backups of a running system, so no need to reboot from an UFD. Am using it for quite a few years (since I have thrown Windows out of the window..) and many backups and restores have never failed me.
    BTW....they also offer Veeam Agent for Windows...is also free.
     
  10. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    8,731
    Location:
    USA
    Not free but an Acronis boot disk is very handy for offline backups of macOS and Linux.
     
  11. fblais

    fblais Registered Member

    Joined:
    Jul 31, 2008
    Posts:
    1,341
    Location:
    Québec, Canada
    There's also Timeshift.
     
  12. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,112
    Location:
    Hawaii
    @cloggy49 -- Looks really good. I shall give it a trial.
    @xxJackxx -- Please tell me a bit more about acronis. I've used it for Windows -- is it about the same for Linux?
    @fblais -- I'm presently using Timeshift. Just yesterday I learned how to get Timeshift's help for one of the more critical problems -- the one where your OS is screwed to the extent that it won't even boot.
     
  13. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    8,731
    Location:
    USA
    It's very similar. The boot disk would be the same. We have used it at work to back up some of the Macs. Plug in an external disk, boot from the boot disk, image the system. I think you can do it online from macOS but I remember it being slow. Never had any problems with it.
    Acronis True Image 2021 for Mac
     
  14. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,035
    Location:
    Member state of European Union
    You can even with FOSS tools, but it is complicated and requires specific setup of OS during installation. I agree it is better for users of this forum to use UFD.

    @bellgamin regarding question in title: use which command. Chances are it will print /usr/bin
    https://manpages.debian.org/bullseye/debianutils/which.1.en.html
     
  15. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,112
    Location:
    Hawaii
    Okay, I have ended up with Rescuezilla (RZ). Thanks to the nth for all your helpful comments. I tried a few of your suggestions and RZ loved me more than the others, so I chose RZ.

    BTW -- I cannot find any provision for differentials or sequentials in Rescuezilla. Thus, each image is a full image.

    ==>Q-1
    : Does anyone know a way to make differentials or sequentials using Rescuezilla? (If not, it's no problem -- my main drive is far from full, so a complete image only takes ~15minutes.)

    ==>Q-2: If one's system drive crashes OR gets messed up by user OR gets replaced, does it make any significant difference as to which type of recovery is used (clone VS image)?
     
    Last edited: May 18, 2024
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.