[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Seeking Wisdom Concerning Backups



On Fri, Feb 29, 2008 at 04:48:07PM -0600, Kent West wrote:
> Owen Townend wrote:
>>
>> On 2/29/08, *Kent West* <westk@acu.edu <mailto:westk@acu.edu>> wrote:
>>
>>     I have a small server on which I need to backup the /home partition.
>>
>>     I have a Barracuda Terastation Pro backup server sitting right next to
>>     it, connected via Ethernet.
>>
>>     I don't need anything fancy; just simple and reliable.
>>
>> Hey,
>>   If all is working except for the 2GB file limit (documented or  
>> otherwise) you can just use 'split' to break the archive into smaller  
>> parts:
>> eg:
>>   `split -b 2000m backup.tar.gz backup.tar.gz.`
>> or pipe tar straight to it:
>>    `tar ${your-args} | split -b 2000m - backup.tar.gz.`
>>
>>   You can then join them by using 'cat':
>>   `cat backup.tar.gz.* > backup.tar.gz`
>
> This sounds very promising, but I can't seem to wrap my brain around the  
> syntax required. I just tried this command:
>
> sudo tar -cvzf /TERASTATIONBACKUP/2008Feb29.tgz /home | split -b 2000m -  
> 2008Feb29.tgz

The -f option of tar identifies the output file, and its argument should
be - (a single dash) to use standard output.  

-- 
Ken Irving, fnkci+debianuser@uaf.edu


Reply to: