Re: Is there a better way to transfer data that doesn't use so much cache?

2022-08-03 Thread Dan Stromberg via rsync
On Wed, Aug 3, 2022 at 5:41 PM Robin Lee Powell via rsync < rsync@lists.samba.org> wrote: > On Wed, Aug 03, 2022 at 02:04:22PM -0400, Rob Campbell via rsync wrote: > > The problem isn't that there are many syncs because the problem happens > on > > the first one that runs. > > You didn't actually

Re: Merging three slightly different directories

2022-06-07 Thread Dan Stromberg via rsync
I suspect you want a duplicate finder more than a file transfer tool. EG: https://stromberg.dnsalias.org/~strombrg/equivalence-classes.html On Tue, Jun 7, 2022 at 5:36 PM hput via rsync wrote: > I want to merge 3 slightly different directories of mostly images. > > Not just mostly but the

Re: Trying to elevate rsync privileges when connecting over ssh without using NOPASSWD in sudoers

2022-03-12 Thread Dan Stromberg via rsync
On Sat, Mar 12, 2022 at 12:23 PM Dr. Mark Asbach via rsync < rsync@lists.samba.org> wrote: > Hi there, hi past me, > > > My (non-working) attempt: > > […] > > So it seems the "-l" is dropped into the void letting ssh assume USER > was the target host? I don’t actually get what I can do. > > Turns

Re: Trying to elevate rsync privileges when connecting over ssh without using NOPASSWD in sudoers

2022-03-11 Thread Dan Stromberg via rsync
Why not rsync directly as root? Then you can use a passwordless, passphraseless RSA (or similar) keypair. On Fri, Mar 11, 2022 at 4:58 AM Dr. Mark Asbach via rsync < rsync@lists.samba.org> wrote: > Hi there, > > We are using ansible to deploy system configuration and web application > source

Re: Confused as to why rsync thinks time, owner and group of many files differ

2022-02-03 Thread Dan Stromberg via rsync
On Thu, Feb 3, 2022 at 3:50 PM Andy Smith via rsync wrote: > I am tempted to blow away the btrfs filesystem and just do xfs to > xfs, to rule out weird issues there. It would be a shame though as > I was hoping to use btrfs's compression here. > You might be able to do a partial transfer to a

Windows backups?

2021-12-27 Thread Dan Stromberg via rsync
Can rsync back up an NTFS using a Windows 10 kernel? So far I've had good luck backing up NTFS filesystems on a dual boot system when booted into Linux, but not when booted into Windows. I've been bitten in the past by /usr/bin/find (for EG) having problems with Windows junctions over sshfs.

Re: BackUp with "inverse" increments

2021-10-07 Thread Dan Stromberg via rsync
rsync --link-dest is fast and simple, good stuff. I recommend using it with some sort of wrapper script for rotations, like Backup.rsync: https://stromberg.dnsalias.org/~strombrg/Backup.remote.html On Wed, Oct 6, 2021 at 7:29 AM Kevin Korb via rsync wrote: > See --link-dest. That is what

Re: Question about rsync -uav dir1/. dir2/.: possib to link?

2021-09-04 Thread Dan Stromberg via rsync
I was thinking --link-dest too. Sometimes this can be done with cpio too; check out the -pdlv options. On Sat, Sep 4, 2021 at 4:57 PM Kevin Korb via rsync wrote: > Rsync does almost everything cp does but since it is designed to network > it never got that feature. I was thinking maybe

Re: Which method (rsync-based) is better for backing up Linux servers to Synology NAS?

2021-08-09 Thread Dan Stromberg via rsync
I suppose I may as well mention: https://stromberg.dnsalias.org/~dstromberg/Backup.remote It just does rsync snapshotting with --link-dest, and keeps the last n snapshots. It's smart enough to resume a previously interrupted snapshot. It's pretty simple - both to set up and to use. I used to

Re: Utility of --backup

2021-07-19 Thread Dan Stromberg via rsync
In Backup.rsync, which of course is a wrapper around rsync that can be used for backups, I do not use --backup, but I do use --link-dest: https://stromberg.dnsalias.org/~strombrg/Backup.remote.html On Sun, Jul 18, 2021 at 11:13 PM Lisa via rsync wrote: > I would like some feedback about the

Re: Syntax Question on 'rsyncd.conf' on Windows

2021-04-09 Thread Dan Stromberg via rsync
This is probably more of a Cygwin question than an rsync question. On Cygwin, E: should show up automatically as /cygdrive/e You can test that by opening a Cygwin terminal and cd'ing to /cygdrive/e On Tue, Apr 6, 2021 at 1:32 PM Tim Evans via rsync wrote: > Cygwin distribution of rsync for

Re: '--address' option on client side.

2021-03-26 Thread Dan Stromberg via rsync
I've not looked into mrsync and multiple interfaces; I'm guessing it'll use your (multicast) routing table. On Fri, Mar 26, 2021 at 1:13 PM Harry Mangalam via rsync < rsync@lists.samba.org> wrote: > mrcast is interesting (Hadn't stumbled across it before) but while it > handles multicat, it

Re: '--address' option on client side.

2021-03-26 Thread Dan Stromberg via rsync
Hi Harry. Are you the person I worked with at UCI a bit? Anyway, you might consider trying mrsync; it's intended to do rsync over multicast. HTH. On Fri, Mar 26, 2021 at 12:22 PM Harry Mangalam via rsync < rsync@lists.samba.org> wrote: > Spent an hour trying to find the answer to this on the

Re: Rsync checksum issue

2020-12-15 Thread Dan Stromberg via rsync
On Tue, Dec 15, 2020 at 3:25 AM Laurent B via rsync wrote: > Dear all, > > I'm encountering a problem with one of my backup. For some files, the > checksum calculation is failing leading to the following error : > It sounds a little like a bug, but perhaps if you share the command you're using

Re: Is there any way to restore/create hardlinks lost in incremental backups?

2020-12-13 Thread Dan Stromberg via rsync
On Sun, Dec 13, 2020 at 11:59 AM Wayne Davison via rsync < rsync@lists.samba.org> wrote: > I should also mention that there are totally valid reasons why the dir > might be huge on day4. For instance, if someone changed the mode on the > files from 664 to 644 then the files cannot be hard-linked

Re: Is there any way to restore/create hardlinks lost in incremental backups?

2020-12-10 Thread Dan Stromberg via rsync
Hi. Is it possible that, if day4 is consuming too much space, that day3 was an incomplete backup? The rsync wrapper I wrote goes to a little trouble to make sure that incomplete backups aren't allowed. It's called Backup.rsync, and can be found at:

Re: link-dest and batch-file

2018-06-26 Thread Dan Stromberg via rsync
On Tue, Jun 26, 2018 at 12:02 PM, Дугин Сергей via rsync < rsync@lists.samba.org> wrote: > I am launching a cron bash script that does the following: > > Day 1 > /usr/bin/rsync -aH --link-dest /home/backuper/.BACKUP/009/2018-06-25 > root@192.168.1.103:/home/

GPL-compatible library implementing the rsync-over-ssh protocol?

2018-06-20 Thread Dan Stromberg via rsync
Is there such a thing? I saw librsync, which appears to be the right algorithm, but not the protocol. And I saw the acrosync-library, which appears to be the protocol, but it's not GPL-compatible. Are there others? Thanks! -- Please use reply-all for most replies to avoid omitting the mailing

Re: Rsync between 2 datacenters not working

2018-03-28 Thread Dan Stromberg via rsync
gt; > -Original Message- > From: Kevin Korb via rsync [mailto:rsync@lists.samba.org] > Sent: zondag 25 maart 2018 22:42 > To: rsync@lists.samba.org > Subject: Re: Rsync between 2 datacenters not working > > Note that if you do this you are stuck with --whole-file > >

Re: Rsync between 2 datacenters not working

2018-03-25 Thread Dan Stromberg via rsync
You could try using an automounter, like autofs, in combination with sshfs. It'll be slower, possibly a lot slower, but it should be more reliable over an unreliable connection. I've been using: remote

Re: [Bug 13317] rsync returns success when target filesystem is full

2018-03-05 Thread Dan Stromberg via rsync
On Mon, Mar 5, 2018 at 3:09 PM, just subscribed for rsync-qa from bugzilla via rsync wrote: > https://bugzilla.samba.org/show_bug.cgi?id=13317 > > --- Comment #6 from Rui DeSousa --- > (In reply to Rui DeSousa from comment #5) > > It looks like no