Effettuare backup tramite Rsync

Ecco un piccolo HowTo su come effettuare Backup tramite rsync

1. Installare un server SSH sul server di destinazione dove volete depositare i backup
2. Eseguire il seguente comando rsync -vaz -e ssh dirdabackuppare/ nomeutente@indirizzoserver:/Backup/altracartella/

se in seguito volete ri-sincronizzare le due directory quella di origine con quella di backup e quindi rimuovere tutti i file che non sono più presenti nella vostra cartella
di origine lanciate il seguente comando :

1.rsync -vaz -e –delete ssh dirdabackuppare/ nomeutente@indirizzoserver:/Backup/altracartella/

Articoli simili

  • Articoli simili

Lascia un commento

Your email is never published nor shared. Required fields are marked *

*
*

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a