I run a simple self written incremental backup system using rsync's
--link-dest option.
Occasionally, because I've moved things around or because I've done
something else that breaks things, the hard links aren't created as
they should be and I get a very space consuming backup increment.
Is
Paul Slootman via rsync wrote:
> On Thu 10 Dec 2020, Chris Green via rsync wrote:
> >
> > Occasionally, because I've moved things around or because I've done
> > something else that breaks things, the hard links aren't created as
> > they should be and I get a
Guillaume Outters via rsync wrote:
> On 2020-12-11 12:53, Chris Green wrote :
>
> > […] wrote a trivial[ish] script that copied
> > all the backups to a new destination sequentially (using --link-dest)
> > and then removed the original tree, having checked the new backups
> > were OK of course.
Francis.Montagnac--- via rsync wrote:
>
> Hi.
>
> On Fri, 01 Jan 2021 09:57:38 + Chris Green via rsync wrote:
>
> > My backup system crashed a couple of nights ago due to a power cut
> > (can't really blame it!) and I went and restarted it after the power
> &g
I just got bitten by a (fairly) subtle problem due to having an
inappropriate location for 'pid file' in my rsyncd.conf.
What I had was:-
pid file = /home/chris/tmp/pid
This works fine until the system running rsync in daemon mode crashes
rather than being properly shut down. The pid file
I can see very complex ways to do this but I can't see a reasonably
simple way to do it.
I want to copy all *.log files from a directory hierarchy and then
delete them. I want to preserve the hierarchy at the destination so
(if I ever need to) I can associate the log files with the place they
Is there a way to copy (for example) the /etc hierarchy from one
system to another preserving root ownership of files and without
revealing root passwords all over the place?
This is actually from and to Debian based systems (from Raspberry Pi
to Xubuntu) so there's no actual root user login
Chris Green via rsync wrote:
> Is there a way to copy (for example) the /etc hierarchy from one
> system to another preserving root ownership of files and without
> revealing root passwords all over the place?
>
> This is actually from and to Debian based systems (from Raspberry
Andy Smith via rsync wrote:
> Hi Chris,
>
> On Tue, Aug 03, 2021 at 11:48:31AM +0100, Chris Green via rsync wrote:
> > If I used the --super option (in a command like the one above) and
> > chris can run rsync as root on the remote end (via options in the
> > sudoer
Andy Smith via rsync wrote:
> Hi Chris,
>
> On Tue, Aug 03, 2021 at 09:48:37AM +0100, Chris Green via rsync wrote:
> > But how do you handle the other end to restore the root ownership etc.?
> > The script has to do something like:-
> >
> > rsync
Paul Slootman via rsync wrote:
> On Tue 03 Aug 2021, Chris Green via rsync wrote:
>
> > Is there a way to copy (for example) the /etc hierarchy from one
> > system to another preserving root ownership of files and without
> > revealing root passwords all over the place?
L A Walsh via rsync wrote:
> On 2021/08/03 07:09, Chris Green via rsync wrote:
> > I already have an rsync daemon server running elsewhere, I can add
> > this requirement to that I think. Thank you.
> >
>
>
> It seems to me, a safer bet would be to gene
Greg Minshall via rsync wrote:
> >If you only do backups at 1am (or whenever), why would your
> > backup machine enable ssh outside of the range 12:59 - 01:01?
>
> Greg's rule of windows: the narrower the window, the more likely it will
> be hit. :)
>
But I use Linux, not windows..
On Sat, Aug 07, 2021 at 08:10:47AM -0700, L A Walsh wrote:
> On 2021/08/07 03:44, Chris Green via rsync wrote:
> > L A Walsh via rsync wrote:
> > > It seems to me, a safer bet would be to generate an ssh-cert
> > > that allows a passwdless login from your sys to the rem
Andy Smith via rsync wrote:
>
> > I've set it up so chris can run rsync with root permissions.
> > However I'm not quite sure how to get it to work as one needs to say
> > "sudo rsync" to get the root privilege. How do you do that?
>
> The first link I sent you had an example of that:
I have been using rsync to copy some web site files to a new (to me)
hosting platform. Yesterday I was doing this and noticed that my ssh
login to cPanel in another terminal window was unresponsive.
On looking at the browser display of my cPanel admin window I saw that
the 'Physical Memory
Chris Green via rsync wrote:
> I have been using rsync to copy some web site files to a new (to me)
> hosting platform. Yesterday I was doing this and noticed that my ssh
> login to cPanel in another terminal window was unresponsive.
>
> On looking at the browser display of
I have searched a little and read the man page but I can't really find
a good definite answer to this.
Can rsync write to a FIFO? Obviously one needs the --inplace to do
this, does one also need --write-devices?
It would be very handy if one can do this, to use as a simple message
passing
18 matches
Mail list logo