If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Incremental backup script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-04, 08:08
mack28 mack28 is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 11-29-04, 09:24
LKBrwn_DBA LKBrwn_DBA is offline
Registered User
 
Join Date: Jun 2003
Location: West Palm Beach, FL
Posts: 2,456
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On