Versione 4 del 2007-01-12 23:14:59

Nascondi questo messaggio
Italiano English
Modifica History Actions

BackupDaWindowsALinux

Backup Da Windows A Linux

Requisiti: cygwin http://www.cygwin.com/ BR attachment:cwRsync_2.0.9_Installer.zip (2940.9 KB) - Applicazione per Windows BR

  • Attivare/Installare rsync lato server e creare/modificare il file  /etc/rsyncd.conf 

use chroot = no
[backup]

        comment = backup module
        path = /backup
        read only = no
  • modificate  path = /backup  nel percorso che preferite voi (la cartella deve esistere e deve avere i permessi appropriati)

  • controllare che rsync sia avviato magari dando un restart  /etc/init.d/rsync restart  (ubuntu)

  • una volta installato cwrsync su windows aprire il file di configurazione dal menu avvio (Start->Programmi->cwRsync->1.Batch Example)

  • L'unica cosa che bisogna fare nel file di configurazione รจ inserire alla fine una riga di rsync per scegliere i file da sincronizzare
  • ESEMPIO:
    • rsync -av "/cygdrive/c/documents and settings/ac3bf1/my documents/cartella1" "/cygdrive/c/documents and settings/ac3bf1/my documents/cartella2" "/cygdrive/c/documents and settings/ac3bf1/Desktop" USER@IP_SERVER:/backup
  • SINTASSI GENERALE:
    • rsync -av "sorgente_1" "sorgente_2" ... "sorgente_n" USER@IP_SERVER:PATH_DESTINAZIONE