Remote rsync question

Marcelo Cavalcante kalibslack-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed May 7 19:32:57 UTC 2014


Hello Walter,

I do use rsync to make a backup of my home in the cloud (a server on the cloud).

That´s what I´m using:

#!/bin/bash
rsync -Cravzp --progress ./ --exclude=".*/" --exclude="Videos/Filmes/"
--exclude="Virtual*/" --exclude="isos/"
myuser at myserver:/home/myuser/mydir/backups/

As you can see, |´m using a simple rsync, excluding only what I don´t
want to be send.
===================================================

Marcelo Cavalcante Rocha - Kalib


Pós-Graduando em Governança de Tecnologia da Informação - ESTÁCIO/FIC
Graduado em Sistemas de Informações - ESTÁCIO/FIC
Usuário Linux #407564 | Usuário Asterisk #1148
Fortaleza - Ceará - Brazil
Celular: +55 085 87620983
Certificações: ITIL V3 | CSM | LPI-C1 | LPI-C2 | LPI-C3 | Novell CLA
Minha Pessoa: Blog
Projetos: Tux-CE | Archlinux-br | Chakra | KDE Brasil | TLUG | PUG-CE

===================================================


Proteja meu endereço como estou protegendo o seu.
Não revele e-mail dos correspondentes: use Cco (Copia Carbonada Oculta).
Retire os endereços antes de reenviar. Dificulte assim a
disseminação de vírus e spam.


2014-05-07 16:27 GMT-03:00 Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>:
>   The goal is to copy most of my home directory to another machine.  In
> this case machine "aa1" (Acer Aspire One) over ssh.  Is the following
> format correct?
>
> #!/bin/bash
> cd /home/waltdnes/
> rm /home/waltdnes/rsync_log.txt /home/waltdnes/rserrors*.txt
> rsync --archive --links --group --itemize-changes --owner \
>       --perms --progress --recursive --size-only --stats --verbose \
>       --exclude-from=/home/waltdnes/.rsexclude \
>       --log-file=/home/waltdnes/rsync_log.txt \
>       /home/waltdnes/ aa1:/home/waltdnes/ 2>/root/rserrors1.txt
>
> .rsexclude would have entries like...
> /home/waltdnes/camera
>
> --
> Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
> I don't run "desktop environments"; I run useful applications
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list