I have found this regular rsync aproach inadequate with constant
babysitting sideffects.
These are desktops, so network filesystem would resolve this and more.
On laptops, I would recommend to use something like NextCloud synchronizing
to a master location.
Those two options do work better for d
On Thu, 15 Nov 2018, Smith, Cathy wrote:
Just as a suggestion, get your backup running manually first before
running from cron. That reduces the time for troubleshooting. Understand
what your rsync is doing. Validate that your backup on the destination is
good. If you are going to use ssh keys,
Even the shell in cron could be different from your login shell. Only the
location running cron should be affected.
The ~/ is a shell alias pointing to the $HOME variable.
On Thu, Nov 15, 2018 at 10:07 AM Rich Shepard
wrote:
> On Thu, 15 Nov 2018, Larry Brigman wrote:
>
> > Note that none of yo
plug-boun...@pdxlinux.org On Behalf Of Rich
Shepard
Sent: Thursday, November 15, 2018 10:07 AM
To: Portland Linux/Unix Group
Subject: Re: [PLUG] rsync in a cron job
On Thu, 15 Nov 2018, Larry Brigman wrote:
> Note that none of your shell variables from your login will be set
> when you run f
On Thu, 15 Nov 2018, Smith, Cathy wrote:
There are a lot of examples available if you google for rsync tutorial or
rsync examples. Search for examples of using rsync for backups.
Thank you, Cathy.
Rich
___
PLUG mailing list
PLUG@pdxlinux.org
http:
AM
To: Portland Linux/Unix Group
Subject: Re: [PLUG] rsync in a cron job
On Thu, 15 Nov 2018, Larry Brigman wrote:
> Note that none of your shell variables from your login will be set
> when you run from cron.
Larry,
Would this affect synchronizing files in ~/ on both hosts?
Th
15, 2018 7:53 AM
To: plug@pdxlinux.org
Subject: [PLUG] rsync in a cron job
I want to update ~/ on the new desktop with changes made in ~/ on the old
desktop using rsync in a daily cron job. The old desktop has a directory ~/data
while the newdesktop has a /data partition separate from /home.
On Thu, 15 Nov 2018, Larry Brigman wrote:
Note that none of your shell variables from your login will be set when
you run from cron.
Larry,
Would this affect synchronizing files in ~/ on both hosts?
Thanks,
Rich
___
PLUG mailing list
PLUG@pdxlin
On Thu, 15 Nov 2018, Louis Kowolowski wrote:
You might be interested in looking at syncthing. Its designed to replicate
things from 1 place to another. You can even set it up such that one is
the "master" and it doesn't accept changes from other nodes.
Louis,
I will look at synthing.
Rega
Note that none of your shell variables from your login will be set when you
run from cron.
On Thu, Nov 15, 2018, 7:53 AM Rich Shepard I want to update ~/ on the new desktop with changes made in ~/ on the
> old
> desktop using rsync in a daily cron job. The old desktop has a directory
> ~/data
You might be interested in looking at syncthing. Its designed to replicate
things from 1 place to another. You can even set it up such that one is the
"master" and it doesn't accept changes from other nodes.
Regarding rsync:
If you exclude something from 1 rsync job, and you still want it copie
I want to update ~/ on the new desktop with changes made in ~/ on the old
desktop using rsync in a daily cron job. The old desktop has a directory
~/data while the newdesktop has a /data partition separate from /home.
There is an --exclude option to rsync and I'm not sure where it should go
i
12 matches
Mail list logo