Craig Barratt wrote:
> Tomasz writes:
> 
>> I have X hosts, and would like to write a script to retrieve last 
>> backups from these hosts, and save it as host1.tar, host2.tar etc. - to 
>> later write it to a tape.
>>
>> What is the best method to do that?
>>
>> Should I just tar the current BackupPC archives like below?
>>
>> tar -cf host1-last.tar /backuppc-data/pc/hosts/host1/<last_backup>
>> tar -cf host1-last.tar /backuppc-data/pc/hosts/host2/<last_backup>
>>
>> Or is there a better method?
>>
>> The above seems to have an advantage that I don't have to "repack" 
>> everything (i.e., uncompress from BackupPC format, than make a tar 
>> package out of it) - but I'm not sure if I can restore such a backup 
>> reliably later on.
> 
> You could use the archive feature, or run BackupPC_tarCreate.
> 
> Running tar directly means that the file names and attributes
> won't be correct, the contents will be compressed (if enabled),

Yes I know.
But making such a tar would be much faster than uncompressing the 
archive, and than making a compressed, "proper" tar.

So considering I use a plain tar over a full BackupPC archive - if I 
untar it later, is there a way to get all the files reliably (with some 
BackupPC magic)?


> and if you run it on an incremental you won't get all the files.

Doesn't an incremental contain hardlinks that "fill" all the files? 
Well, from what you say, perhaps not.


-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to