Results 1 to 6 of 6

Thread: How to backup everything from within Ubuntu

  1. #1
    Join Date
    May 2012
    Beans
    4

    Question How to backup everything from within Ubuntu

    I just installed 64-bit Ubuntu 12.04 using the Wubi installer from within Windows 7 64-bit, and want to be able to backup all my windows and ubuntu files from within ubuntu. I need everything backed-up, including my windows programs etc. and be able to recover everything relatively quickly if my computer dies. How can I do this, and are there any programs other than the default one you'd recommend?

    Thanks,
    Skippy

  2. #2
    Join Date
    Sep 2009
    Beans
    8,874
    Distro
    Ubuntu Development Release

    Re: How to backup everything from within Ubuntu

    Full backups in a wubi are not practical in my opinion, I would back up home with grsync is all. Wubi is a file in windows.

    A full installation in a partition of ubuntu, and windows can be cloned easily with the bootloader attached, a whole HD or by partitions I use this. A clone of windows with wubi though would retain both.

    clonezilla.org

    This does not exactly answer your questions so feel free to disregard.

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to backup everything from within Ubuntu

    If you want to backup your Windows applications, you'd also need to backup your Windows registry and I doubt there's a way of doing that from inside a wubi Ubuntu installation. I think your answer would be to use a Windows imaging application from within Windows. Since your Ubuntu installation is contained as a pseudo-partition in a single file in the Windows filesystem, that would get backed up in its entirety along with the rest.

    Acronis TrueImage or Norton Ghost should be OK for this, or if you want something free (as in beer, not open source) then have a look at the free version of Macrium Reflect. I've used it myself and can recommend it. You create the image from a running Windows, which backups up everything, and if you need to restore the image to a new hard drive you simply boot from a live CD that you've previously created from Macrium.

    Word of caution. That would only work to restore your system if you need to replace a failed hard drive. If the whole computer dies, then you have a problem. Restoring a Windows image to a completely different set of hardware will cause Windows to complain. At the very least it will require re-activation and if your Windows is a pre-installed OEM version, that would be against the MS EULA and you would get short shrift from the Microsoft support people.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  4. #4
    Join Date
    May 2012
    Beans
    4

    Re: How to backup everything from within Ubuntu

    Thanks for you help I can see that it wouldn't be very practical and I don't like having my ubuntu installed through wubi, so would moving my ubuntu to a proper partition using this method: https://help.ubuntu.com/community/MigrateWubi be a better option?
    And if I did do that, what would I have to do from within ubuntu to backup all my windows and ubuntu files like I said before?Z

    Thanks,
    Jack

  5. #5
    Join Date
    May 2005
    Location
    Indiana
    Beans
    1,933
    Distro
    Hardy Heron (Ubuntu Development)

    Re: How to backup everything from within Ubuntu

    Quote Originally Posted by Skippy3E View Post
    Thanks for you help I can see that it wouldn't be very practical and I don't like having my ubuntu installed through wubi, so would moving my ubuntu to a proper partition using this method: https://help.ubuntu.com/community/MigrateWubi be a better option?
    And if I did do that, what would I have to do from within ubuntu to backup all my windows and ubuntu files like I said before?Z

    Thanks,
    Jack
    Yes, but you would want to back up all of your important files before you do that, just in case.

    After you have a proper Ubuntu installation, your Windows partition will show up in the file system. Ubuntu can read your Windows drive, and you can access your files. So you could then use any Linux backup app to set it up to backup anything you want. Ubuntu comes with Deja-dup preinstalled. It's just called Backup in the menus. I use a different backup app called LuckyBackup. I like it better because it's a 1:1 backup that I can actually access the files from my external HD.

    Also, if you had a real Ubuntu installation outside of Windows, it would be a lot safer to use something like Clonezilla than it would be from a Wubi installed Ubuntu. But no matter what, you'll want to copy all your important files over to an external or something, just in case you bork your system.
    Today you are You, that is truer than true. There is no one alive who is Youer than You. - Dr. Seuss

  6. #6
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: How to backup everything from within Ubuntu

    To, as you stated "recover everything quickly", at least in MS Windows, you do NOT want to do a file-based backup, regardless of what tool you use.

    Windows apps use the registry, and file backup tools will not to a complete job of backing that up.

    In addition, there are hidden files and directories that must be in place for Windows to boot and to run -- and once again, file-based backups will likely NOT see these.

    What you need to do to be able to recovery MS Windows quickly is to do image backups of the Windows partition -- and that can be done for free, inside Windows, using Macrium Reflect. Just go to their website, download and install the free version, and use it to make backups. Also use the option to create and burn the Linux Boot CD. That will allow you to boot from that to do Windows restores.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •