Re: remote copy im Script - Empfehlung gesucht
On Day 28 of The Aftermath 3170, Ruediger Noack wrote:
> Moin
>
> Ich bin gerade dabei "trocken" (also ohne echte Testmöglichkeit) ein
> Script zu bauen, welches mir die komplette Sicherung der
> Notebook-Partitionen wegen Austausch der HD komfortabel vornehmen soll.
[...]
> Der Ablauf wird wohl so sein (als root auf dem Notebook):
>
> - Knoppix booten
> - ein paar Konfigurationen
>
> und ab jetzt im Script:
> - /-Partition mounten (/mnt/root)
> - tar | remote copy
> - /usr mounten
> - tar | remote copy
> ...
>
> Nun frage ich mich, womit ich am komfortabelsten kopiere. Gegen NFS
> spricht IMHO, dass sich root und NFS nicht vertragen. Gegen scp, dass das
Nein.
> Script nicht durch Passworteingaben unterbrochen werden soll.
Bewirf mal google mit "ssh public key"
> Was würdet ihr benutzen?
tar cvf - $PATH | ssh $USER@$HOST dd bs=32k of=/$PATH/$BACKUPNAME.tar
ttyl8er, t.k.
--
There are really not many jobs that actually require a penis or a
vagina, and all other occupations should be open to everyone.
-- Gloria Steinem
Reply to: