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), and if you run it on an incremental you won't get all the files. Craig ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
