venerdì, maggio 10, 2013

Rsync su FTP con CURLFTPFS

Necessario sia RSYNC che CURLFTPFS

Installazione:
# apt-get install rsync
# apt-get install curlftpfs

Eseguire mount su server linux da ftp:
# curlftp -o allow_other ftp://utente:password@mioserverftp.it /mnt/ftp

Eseguire rsync su cartella remota
# rsync -av --delete /home /mnt/ftp

Per inviare report via mail usare server "mutt" (vedi configurazione MUTT) in questo modo:
# rsync -av --delete /home /mnt/ftp | mutt -s "Report backup rsync" destinatario@mail.com

Per il mounting automatico di curlftpfs editare il file /etc/fstab in questo modo:
curlftpfs#user:password@mioserverftp /mnt/ftp fuse rw,uid=500,user,noauto 0 0

poi direttamente:
# mount /mnt/ftp


OpenVPN server - installazione su Windows 10

SERVER