<div dir="ltr"><div>I use rsync a lot, both for backing up to external drives and keeping files in sync across machines.  I use BTsync between my computer and phone and tablet, and I think I prefer the more discreet rsync command overall, although I can see BTsync working for others.  Git is another method I've seen in use: it's not common, but it does have some significant advantages (history, easy recovery from accidental deletes).  Choice depends on personal preference.  If I were starting over and felt more comfortable with git, I'd go with that - it's probably the most robust.<br>
<br></div>As for the rsync command itself: I think you'll want <username>@aa1:/home/waltdnes/ .  I've never used the excludes in any form, never had much luck with them (possibly just me).  I've always strongly preferred the --long-form commands to the -l short ones - particularly if you save the command in a script.  The letters are much more compact ... and totally unreadable.  But the command you want to make yourself familiar with is --dry-run which shows you what it would do if this were a real run ... without actually doing it.  Very, very useful for testing.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 May 2014 15:39, Mauro Souza <span dir="ltr"><<a href="mailto:thoriumbr@gmail.com" target="_blank">thoriumbr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I now use BT-Sync to keep my data, well, in sync... It works surprisingly well, setup is a breeze. It have arm and x86 versions, runs on my Android, my RasPi, my Dell notebook and on my cloud server. Haven't any issues with it yet.<br>


</div><div class="gmail_extra"><br clear="all"><div>Mauro<br><a href="http://mauro.limeiratem.com" target="_blank">http://mauro.limeiratem.com</a> - registered Linux User: 294521<br>Scripture is both history, and a love letter from God.</div>



<br><br><div class="gmail_quote">2014-05-07 16:32 GMT-03:00 Marcelo Cavalcante <span dir="ltr"><<a href="mailto:kalibslack-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" target="_blank">kalibslack-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello Walter,<br>
<br>
I do use rsync to make a backup of my home in the cloud (a server on the cloud).<br>
<br>
That´s what I´m using:<br>
<br>
#!/bin/bash<br>
rsync -Cravzp --progress ./ --exclude=".*/" --exclude="Videos/Filmes/"<br>
--exclude="Virtual*/" --exclude="isos/"<br>
myuser@myserver:/home/myuser/mydir/backups/<br>
<br>
As you can see, |´m using a simple rsync, excluding only what I don´t<br>
want to be send.<br>
===================================================<br>
<br>
Marcelo Cavalcante Rocha - Kalib<br>
<br>
<br>
Pós-Graduando em Governança de Tecnologia da Informação - ESTÁCIO/FIC<br>
Graduado em Sistemas de Informações - ESTÁCIO/FIC<br>
Usuário Linux #407564 | Usuário Asterisk #1148<br>
Fortaleza - Ceará - Brazil<br>
Celular: <a href="tel:%2B55%20085%2087620983" value="+558587620983" target="_blank">+55 085 87620983</a><br>
Certificações: ITIL V3 | CSM | LPI-C1 | LPI-C2 | LPI-C3 | Novell CLA<br>
Minha Pessoa: Blog<br>
Projetos: Tux-CE | Archlinux-br | Chakra | KDE Brasil | TLUG | PUG-CE<br>
<br>
===================================================<br>
<br>
<br>
Proteja meu endereço como estou protegendo o seu.<br>
Não revele e-mail dos correspondentes: use Cco (Copia Carbonada Oculta).<br>
Retire os endereços antes de reenviar. Dificulte assim a<br>
disseminação de vírus e spam.<br>
<br>
<br>
2014-05-07 16:27 GMT-03:00 Walter Dnes <<a href="mailto:waltdnes@waltdnes.org" target="_blank">waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org</a>>:<br>
<div><div>>   The goal is to copy most of my home directory to another machine.  In<br>
> this case machine "aa1" (Acer Aspire One) over ssh.  Is the following<br>
> format correct?<br>
><br>
> #!/bin/bash<br>
> cd /home/waltdnes/<br>
> rm /home/waltdnes/rsync_log.txt /home/waltdnes/rserrors*.txt<br>
> rsync --archive --links --group --itemize-changes --owner \<br>
>       --perms --progress --recursive --size-only --stats --verbose \<br>
>       --exclude-from=/home/waltdnes/.rsexclude \<br>
>       --log-file=/home/waltdnes/rsync_log.txt \<br>
>       /home/waltdnes/ aa1:/home/waltdnes/ 2>/root/rserrors1.txt<br>
><br>
> .rsexclude would have entries like...<br>
> /home/waltdnes/camera<br>
><br>
> --<br>
> Walter Dnes <<a href="mailto:waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org" target="_blank">waltdnes-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org</a>><br>
> I don't run "desktop environments"; I run useful applications<br>
> --<br>
> The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
> How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br>Giles<br><a href="http://www.gilesorr.com/">http://www.gilesorr.com/</a><br><a href="mailto:gilesorr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">gilesorr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>
</div>