Results 1 to 4 of 4

Thread: Recover from a bz2 image

  1. #1
    Join Date
    Aug 2008
    Beans
    108

    Recover from a bz2 image

    I run a server for a small business and as part of backup plan I run the following script:

    Code:
    tar czf /media/backup/serversystem.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/media --exclude=/sys /
    This seems to work fine and as far a s I know produces a tarball of the server system. I hope I never have to use it but should the worse happen and the server fails, how do I restore it from the tarball image?

  2. #2
    Join Date
    Oct 2005
    Beans
    94

    Re: Recover from a bz2 image

    tar jxf /media/backup/serversystem.bz2

  3. #3
    Join Date
    Dec 2007
    Location
    Buenos Aires, Argentina
    Beans
    1,231
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Recover from a bz2 image

    Is there any special reason you are creating such a (big) backup file, instead of making backups of the things that actually change on the system?
    Have you heard of Rsnapshot?

    I'm really curious
    Live long and prosper.
    And use lotsa Linux, BSD, and Emacs.

  4. #4
    Join Date
    Aug 2008
    Beans
    108

    Re: Recover from a bz2 image

    Thanks for the help, the backup is only 282Mb which I didn't think was too big.

    I have never heard of Rsnapshot but I will certainly have a look at it.

    Thanks again for the advice.

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
  •