Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 62

Thread: Problems backing up system with DD

  1. #31
    Join Date
    Jun 2006
    Beans
    122

    Re: Problems backing up system with DD

    Ok, trying to make a backup to sdb, but fsarchiver just gives an error message:

    :~$ sudo fsarchiver -v -jn -zn -a -A savefs /dev/sdb1/xubuntu_backup.fsa /dev/sda1

    fsarchiver.c#202,process_cmdline(): [n] is not a valid number of jobs. Must be between 1 and 32
    ====> fsarchiver version 0.6.17 (2013-02-25) - http://www.fsarchiver.org <====


    What's wrong with my command now..? Tried to google it, but no hits.

  2. #32
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Problems backing up system with DD

    I think the easiest alternative is to buy a new pendrive with more memory than the source (several GB more), and use dd as you did originally. That is likely to work, as long as you check and re-check that there are no typing errors. Do not let dd act as 'disk destroyer'

    Boot from one drive. Copy from a second drive (the source) to a third drive (the target).

  3. #33
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Problems backing up system with DD

    Another source of information on fsarchiver might be http://www.fsarchiver.org/forums/
    (Not that you can't seek help here... )
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  4. #34
    Join Date
    Jun 2006
    Beans
    122

    Re: Problems backing up system with DD

    Ok, discussion is now continued here: http://www.fsarchiver.org/forums/vie...7&p=4362#p4362. Previous problem solved, and then to next one.

    Damn I just can't use these OS's without a mouse, it seems that EVERYTHING is made really difficult for a newbie...
    Last edited by AlliumPorrum; March 8th, 2014 at 07:06 PM.

  5. #35
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problems backing up system with DD

    If new partition, you need to take owership & give yourself permissions.

    #if not known to list partitions, change sda5 to your data partition or create multiples with different mount points
    # is comment, do not type
    sudo parted -l
    sudo mkdir /mnt/data
    sudo mount /dev/sda5 /mnt/data
    #where sda5 needs to be your drive, partition
    sudo chmod -R a+rwX,o-w /mnt/data
    # Note that the -R is recursion and everything is changed, do NOT run on any system partitions.
    #All directories will be 775.
    #All files will be 664 except those that were set as executable to begin with.
    sudo chown -R $USER:$USER /mnt/data


    https://help.ubuntu.com/community/FilePermissions

    http://www.psychocats.net/ubuntu/mountlinux
    https://help.ubuntu.com/community/Mount/


    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  6. #36
    Join Date
    Jun 2006
    Beans
    122

    Re: Problems backing up system with DD

    Thanks oldfred, but it did not help:

    ~$ sudo mkdir /mnt/data
    ~$ sudo mount /dev/sdb1 /mnt/data
    ~$ sudo chmod -R a+rwX,o-w /mnt/data
    ~$ sudo chown -R $USER:$USER /mnt/data
    ~$ sudo fsarchiver -v -j4 -a -A savefs /dev/sdb1/xubuntu_backup.fsa /dev/sda1
    [errno=20, Not a directory]: archwriter.c#116,archwriter_create(): cannot create archive /dev/sdb1/xubuntu_backup.fsa

  7. #37
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problems backing up system with DD

    I do not know fsarchiver, but your /dev/sda1 is a device not a mount point.
    Try using the mount you just created or /mnt/data.

    sudo fsarchiver -v -j4 -a -A savefs /dev/sdb1/xubuntu_backup.fsa /dev/sda1

    sudo fsarchiver -v -j4 -a -A savefs /dev/sdb1/xubuntu_backup.fsa /mnt/data

    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #38
    Join Date
    Jun 2006
    Beans
    122

    Re: Problems backing up system with DD

    But the mounting point I made according the instructions was for the destination, not for the source:

    ~$ sudo mount /dev/sdb1 /mnt/data

    Sorry but I really have no idea about these "mounting points" or "devices", I just did what was suggested above. How can I find out what should I put for the destination and for the source?
    Last edited by AlliumPorrum; March 8th, 2014 at 10:22 PM.

  9. #39
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problems backing up system with DD

    It looks like the first command must be a mount but the second can be a device.
    http://www.fsarchiver.org/QuickStart
    fsarchiver savefs /mnt/backup/gentoo-rootfs.fsa /dev/sda1
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #40
    Join Date
    Aug 2013
    Beans
    2,570

    Re: Problems backing up system with DD

    Quote Originally Posted by AlliumPorrum View Post
    Ok, trying to make a backup to sdb, but fsarchiver just gives an error message:

    :~$ sudo fsarchiver -v -jn -zn -a -A savefs /dev/sdb1/xubuntu_backup.fsa /dev/sda1

    fsarchiver.c#202,process_cmdline(): [n] is not a valid number of jobs. Must be between 1 and 32
    ====> fsarchiver version 0.6.17 (2013-02-25) - http://www.fsarchiver.org <====


    What's wrong with my command now..? Tried to google it, but no hits.
    Note you have to specify n, jn would be like j4 for 4 threads, zn would be something like z3 but you can ignore it since your file is small the lowest level of compression is ok. It is like x is algebra.

Page 4 of 7 FirstFirst ... 23456 ... LastLast

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
  •