fsarchiver

Discussion in 'all things UNIX' started by Gullible Jones, Feb 17, 2013.

Thread Status:
Not open for further replies.
  1. http://www.fsarchiver.org/Main_Page

    It's a filesystem imaging program, like a more advanced version of partimage. One of its more interesting featuers is that you can force it to do a hot backup of an RW-mounted filesystem.

    Is this a good idea? Probably not. Definitely not in production environments. However, I will also note that fsarchiver checksums every file it copies. So if it does fail to preserve a file, it will at least tell you that the file failed to copy... For whatever that's worth.

    That being said, I was able to take a hot backup of my Debian laptop's root partition (while mounted RW - no files failed) and restore it successfully on another computer. Yay.

    That being said, if you must do hot backups on UNIX, you should probably stick with tar or cpio anyway; those will offer you more flexibility. Unless you're using ACLs or something.
     
  2. NGRhodes

    NGRhodes Registered Member

    Joined:
    Jun 23, 2003
    Posts:
    2,381
    Location:
    West Yorkshire, UK
    Not true.
    If the FS or underlying storage supports snapshot, such as LVM, then its totally safe.

    Without anyway to freeze the FS state (e.g. readonly or snapshot), the problem is that the FS can change whilst backing up, you can't guarantee the consistency of the entire FS.

    In a controllable environment you will vastly increase the chances of not having problems (but IMHO still not trustworthy :)).

    tar, cpio still suffer the issues I have mentioned on a RW FS.

    Cheers, Nick
     
  3. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,675
    Location:
    Philippines
    FSArchiver is part of my tool set. I use it primarily from a SystemRescueCd. My favorite feature is being able to restore to a different file system that what was backed up. Also being able to restore to a smaller or larger partition is a plus.
     
  4. Eww. Is there any reliable hot backup method for Linux at all? Aside from LVM (which has serious issues and limitations) and BTRFS (which is insanely slow and not anywhere near production ready)?
     
  5. tlu

    tlu Guest

    I'm not aware of a reliable hot backup method.

    For what it's worth, I backup may root partition with Clonezilla every now and then, and my home partition regularly with the script presented in post #8 of this old thread.
     
Thread Status:
Not open for further replies.
  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.