Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2004
    Posts
    1

    Unanswered: Incremental backup script

    Hi Guruz!!!

    I have made a incremental backup script which is backuping the some important files on the server. /etc... , /usr..., /var/lib/mysql

    I am using bz2 as file compression. after bz2 i am splitting the files in to different parts as per the size of the bz2.( if itsgreater than 256m then i am splitting the files.)

    but now my stupid question i have split the files but i want to combine that split files in to one single file and then untar that .bz2

    e.g.

    abc.tar.bz2.xa
    abc.tar.bz2.xb
    abc.tar.bz2.xc
    abc.tar.bz2.xd
    abc.tar.bz2.xe
    abc.tar.bz2.xf

    now want to combine these file in to single archive for rstoring the backup... but i am stuk at this point

    can any one help me to figure out???

    Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Thumbs down

    Why split and then combine again?

    Well, you can try this:
    Code:
    tar cvf abd.tar.bz2.tar abc.tar.bz2.x?

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

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