Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Guide: How To Backup Operating Systems

  1. #1
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Guide: How To Backup Operating Systems

    I have posted a new Wikibooks guide "How To Backup Operating Systems"...
    http://en.wikibooks.org/wiki/How_To_...rating_Systems

    This guide extends on the information in the older guide here...
    http://ubuntuforums.org/showthread.php?p=2148017

    Comments and suggestions are welcome.

  2. #2
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Guide: How To Backup Operating Systems

    Quote Originally Posted by IgnorantGuru View Post
    I have posted a new Wikibooks guide "How To Backup Operating Systems"...
    http://en.wikibooks.org/wiki/How_To_...rating_Systems

    This guide extends on the information in the older guide here...
    http://ubuntuforums.org/showthread.php?p=2148017

    Comments and suggestions are welcome.
    I went for a look and got the following message:
    Code:
    There is currently no text in this page, you can search for this page title in other pages or edit this page.
    
        * If you recently created this page, try purging the server cache or searching the deletion log.
    Last edited by lisati; May 27th, 2008 at 08:57 AM. Reason: Skipped a few characters
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.
    Please use CODE tags.

  3. #3
    Join Date
    May 2008
    Location
    North-East England
    Beans
    11
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Guide: How To Backup Operating Systems

    I didn't find any error message on the page

    I dunno what's up with yours lisati

  4. #4
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Re: Guide: How To Backup Operating Systems

    Quote Originally Posted by lisati View Post
    I went for a look and got the following message:
    Sorry about that - you grabbed the link right after I posted it. I copied it with dots ... in the middle of the link which is why it didn't work. That has been corrected. The correct link is
    http://en.wikibooks.org/wiki/How_To_...rating_Systems

  5. #5
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Re: Guide: How To Backup Operating Systems

    A fairly major edit to this book was posted today which includes an expanded section on the MBR & boot process, how to backup and restore the partition table (including extended partitions), and other additions.

    http://en.wikibooks.org/wiki/How_To_...rating_Systems

  6. #6
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Re: Guide: How To Backup Operating Systems

    A fairly major rewrite and update of How To Backup Operating Systems is available. This includes a method which supports ext4 using the new FSArchiver, and it is now both GRUB v1 and v2 friendly.
    http://en.wikibooks.org/wiki/How_To_...rating_Systems

    And a PDF version for printing...
    http://en.wikibooks.org/w/index.php?...tems&writer=rl
    Last edited by IgnorantGuru; January 13th, 2010 at 08:16 AM.
    Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

  7. #7
    Join Date
    Apr 2010
    Location
    Pittsburgh Suburbs
    Beans
    77
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Guide: How To Backup Operating Systems

    Thanks for the guide. I have your updated version, and it's clarified a number of things for me. But I've run into a file system permission problem in creating the archive.

    I'm using a recent System Rescue CD (1.5.5), and using fsarchiver. I've tried 2 different target file systems on different drives, but get the same error message for both:

    Code:
    [errno=30, Read-only file system]:
    archwriter1 C#116, archwriter_create():
    cannot create archive /mnt/target/backup-sdb5.fsa


    I'm attempting to backup sdb5. The first target I tried was /dev/sda1, an internal drive and boot volume. The second was /dev/sdb1, an external USB connected drive (and the same drive with the Ubuntu partition I want to back up.)

    I've tried manually to change permissions using chmod, but the system changes them back to read only! I've tried to use sudo, but I'm told that command isn't available, and to use _sudo. (When I try that, I get some output which is unintelligible, to me at least.)

    Any help would be most appreciated. Thanks.

  8. #8
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Re: Guide: How To Backup Operating Systems

    Quote Originally Posted by walt11 View Post
    I've tried 2 different target file systems on different drives, but get the same error message for both:
    I haven't encountered this before. If you type mount, does it show the volume mounted as readonly (ro)?

    When using SystemRescueCD, you are always root, so there is no need for sudo. You might try explicitly mounting the volume as read-write. eg
    Code:
    mkdir /mnt/target
    mount -o rw /dev/sda1 /mnt/target
    mount
    The last mount should return something like:
    /dev/sda1 on /mnt/target type ext3 (rw)

    Also, you could test if the drive is writable:
    Code:
    touch /mnt/target/testfile
    ls /mnt/target/testfile
    If that creates a file with no error, then you might want to ask about this problem on the fsarchiver forum... the author is generally quite responsive
    http://www.fsarchiver.org/forums/

    I will be interested in the solution you find - I may add a note to the guide.
    Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

  9. #9
    Join Date
    Apr 2010
    Location
    Pittsburgh Suburbs
    Beans
    77
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Guide: How To Backup Operating Systems

    Thank you for the very quick response!! I tried the things you suggested, with these results:

    After the
    Code:
    mount /dev/sda1 /mnt/target
    the
    Code:
    mount

    showed /dev/sda1 on /mnt/target type ntfs (rw)
    (The fact that it's ntfs shouldn't matter, should it?)
    But when I did the
    Code:
    touch /mnt/target/testfile
    I got touch:cannot touch '/mnt/target/testfile': Read-only file system.
    BUT, I did another
    Code:
    mount
    immediately after this, and it showed the same thing as above, /dev/sda1 on /mnt/target type ntfs (rw) !!

    I repeated the whole using -o rw in the original mount command, and the results were identical.

  10. #10
    Join Date
    Feb 2007
    Beans
    206
    Distro
    Kubuntu

    Re: Guide: How To Backup Operating Systems

    Quote Originally Posted by walt11 View Post
    (The fact that it's ntfs shouldn't matter, should it?)
    That may be causing the problem. Use "-t type" to indicate the correct type, eg:
    Code:
    mount -t ext3 -o rw /dev/sda1 /mnt/target
    Replace "ext3" above with the correct type for that partition (check /etc/fstab if you're not sure). (You probably don't need the "-o rw" but it won't hurt.)

    The fact that touch reported an error tells you it really is a read-only system, not a problem with fsarchiver. So you just need mount to mount it correctly and you should be okay.
    Check out my blog for useful scripts and tips... http://igurublog.wordpress.com

Page 1 of 2 12 LastLast

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
  •