PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > remote backup using sftp
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

remote backup using sftp

Réponse
 
LinkBack Outils de la discussion
Vieux 02/10/2006, 21h52   #1
stroller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut remote backup using sftp


hi, i have public/private keys configured for my servers and would like
to take a backup and sftp to a remote machine i maintain in a colo
facility (also configured with public/private keys). can someone
recommend a way to do this sftp of the backedup data to the remote
machine, using a script? essentially my question is how do do the sftp
transfer without manually having to type the passphrase.

thx

  Réponse avec citation
Vieux 02/10/2006, 22h14   #2
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: remote backup using sftp

"stroller" <smcbutler@hotmail.com> writes:

> hi, i have public/private keys configured for my servers and would like
> to take a backup and sftp to a remote machine i maintain in a colo
> facility (also configured with public/private keys). can someone
> recommend a way to do this sftp of the backedup data to the remote
> machine, using a script? essentially my question is how do do the sftp
> transfer without manually having to type the passphrase.


rsync using ssh as transport is one nice option if you have hte
benefit of an rsync server on the far end.

Example:
client$ rsync -avz -e ssh /home/me/ remote.colohost.blah:/home/me123/mybackup

Or you can do the usual scp thing though it's not as bandwidth
friendly.

In ssh parlance, you wish to use public key authentication with a
private key that has no pass phrase.

For more on that see:
http://www.snailbook.com/faq/no-passphrase.auto.html


--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Vieux 10/10/2006, 00h57   #3
Randy Yates
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: remote backup using sftp

comp@toddh.net (Todd H.) writes:
> [...]
> Or you can do the usual scp thing though it's not as bandwidth
> friendly.


Why is that?
--
% Randy Yates % "My Shangri-la has gone away, fading like
%% Fuquay-Varina, NC % the Beatles on 'Hey Jude'"
%%% 919-577-9882 %
%%%% <yates@ieee.org> % 'Shangri-La', *A New World Record*, ELO
http://home.earthlink.net/~yatescr
  Réponse avec citation
Vieux 10/10/2006, 03h47   #4
Todd H.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: remote backup using sftp

Randy Yates <yates@ieee.org> writes:

> comp@toddh.net (Todd H.) writes:
> > [...]
> > Or you can do the usual scp thing though it's not as bandwidth
> > friendly.

>
> Why is that?


scp copies every file every time, no matter whether it's changed since
the last sync or not.

rsync only updates what's changed.


--
Todd H.
http://www.toddh.net/
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h01.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11052 seconds with 12 queries