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

Re: Need advice for best way to replace a faulty disk



Svante,

> 1. Save partitions (/,/var,/home) on another box. Best way?

The approach that works best for me is to let tar pipe the data into
netcat, and stream it away over the network, as in

source# for i in / /home /var; do (cd $i && tar -czlf - | nc -w 5 -l -p 16333); done

target$ for i in root home var; do nc source 16333 >$i.tar.gz; sleep 5; done

HTH,
   Simon

-- 
GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

Attachment: pgpM9LOkDKv1K.pgp
Description: PGP signature


Reply to: