The server is at a the government. I would go to jail.
But thanks for the input.

On Sun, Nov 19, 2017 at 8:03 AM, Ron Kelley <rkelley...@gmail.com> wrote:

> Can you install an rsync daemon on the server side?  If so, simply create
> /etc/rsyncd.conf file with this:
>
> [BACKUP]
> comment = Allow RW access for backups
> path = /usr/local/backup_dir
> uid = root
> hosts allow = 192.168.1.46, 192.168.1.47
> read only = yes
>
>
> Next, on each of your remote clients, simply run rsync via cron job to
> your server.   Something like this:
>
> /usr/bin/rsync -arv /<local_dir> root@192.168.1.10::BACKUP/192.168.1.46/
>
> The above assumes your server IP is 192.168.1.10 and your client IP is
> 192.168.1.46.  Also, note the trailing slash (/) on the second rsync
> argument.  It ensures the files get put into the right directory.
>
> I run rsync scripts each night on lots of client machines (specifically
> LXD containers running wordpress) to a central backup server.  It works
> great.
>
>
> BTW: I don’t know if I could say rsync over a network mount is the worst
> possible solution ever.  I have used rsync for a long time and using a
> variety of network connections (rsync daemon, nfs, rsync via ssh).  My
> experience has shown rsync over ssh is by far the slowest because of the
> ssh cipher.  Rsync over nfs mount is very fast - almost as fast as a local
> copy.
>
> -Ron
>
>
>
>
>
>
> > On Nov 18, 2017, at 9:37 PM, Saint Michael <vene...@gmail.com> wrote:
> >
> > How do you rsync over SSH when all you have is a Plain Old FTP server to
> connect to?
> > Maybe there is something I need to learn.
> >
> > On Sat, Nov 18, 2017 at 5:08 PM, Andrey Repin <anrdae...@yandex.ru>
> wrote:
> > Greetings, Saint Michael!
> >
> > > I need to do an rsync of hundreds of files very morning. The least
> complex
> > > way to achieve that is to do an rsync with some parameters that narrow
> down what files I need.
> > > Is there a better way?
> >
> > rsync over a network mount is the WORST POSSIBLE SOLUTION EVER.
> > Use normal rsync over SSH, it will be much faster, even if you do
> checksum
> > syncs.
> >
> >
> > --
> > With best regards,
> > Andrey Repin
> > Sunday, November 19, 2017 01:07:34
> >
> > Sorry for my terrible english...
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users@lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> >
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users@lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to