similar to: Question about rsyncing to a slightly different folder structure on target

Displaying 20 results from an estimated 3000 matches similar to: "Question about rsyncing to a slightly different folder structure on target"

2013 Dec 22
3
Ignoring permission differences...
Hi all, Ok, since 3.1 still isn't in stable, I'm curious if I can just find the equivalent of: rsync -avHP --delete --exclude-from '/home/user/excludes.txt' /mnt/example.com/ /var/vmail/example.com/ But that will ignore differences in permissions - ie, won't recopy everything, just because the permissions on the source are different from the permissions on the target...
2013 Dec 24
4
Thunderbird message cache out of sync after repetitive rsyncs...
Ok, hopefully there is a solution to this. I've been experimenting with multiple rsyncs in preparation for pulling the trigger on the mail server switch, but have a problem that I really want to fox before doing so. Apparently something causes Thunderbirds local message cache to get out of sync with dovecot after a sync. Here is the series of commands I'm running: 1. stop postfix,
2013 Dec 27
2
Server Migration Attempt - new messages DELETED after secondary rsyncs
Starting a new thread, as I've got a lot more details now... First, I know this may be (or is even likely) something weird happening with Thunderbird, but the bottom line is, I have to find a resolution or a workaround or something, or I will be unable to pull the trigger on the server migration. It is simply unacceptable to lose ANY mails doing this. Goal: migrate mailstore from old
2017 Mar 03
2
How do you exclude a directory that is a symlink?
Considering you cant INCLUDE a directory that is a symlink... which would be really handy right now for me to resolve a mapping of 103 -> meaningful_name for backups, instead im resorting to temporary bind mounts of 103 onto meaningful_name, and when the bind mount isnt there, the --del is emptying meaningful_name accidentally at times. I think both situations could benefit from a
2011 Aug 19
1
rsync'ing an rdiff-backup repository
I'm rsync'ing an rdiff-backup repository to a different machine and I have a few questions I'm hoping you guys can help me out with. Should I use --archive? Or maybe -rlD instead? Can I restrict an SSH key to rsync? I can do it with rdiff-backup with command="rdiff-backup --server" but I can't figure out how to do it with rsync. The rdiff-backup repository I'm
2008 Apr 22
3
rsync bandwidth usage
Hello all, I'm experiencing about 20MBit/s on a 100MBit/s ethernet connection when rsync'ing a lager number on _new_ files. I don't have much exeprience with rsync. I'dd just like to know if thi is an acceptable bw usage and what could be the limiting factors... in order to try to increase this speed. I'm considering using 1000MBit/s dedicated connections and so I'dd
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
On Thu, 2023-09-21 at 20:08 -0400, Kevin Korb via rsync wrote: > I have heard in the past that rsyncing an empty dir over a tree to > delete the tree is faster than an rm -rf but I can't say I have ever > benchmarked it to get any actual numbers. This **may** indeed be a myth (for a long time now) re-cited again and again and - could no longer be valid today - could apply only
2011 Jun 25
1
Regression: sockets for 3.0.9pre1 ?
Hi. rsync 3.0.8 FreeBSD RELENG_4 i386. rsync -Haxi --delete /.../ /.../ The first pathspec above (residing on zz, a full filesystem) is: /vvvv/wwww/xxxx/zz/ The second pathspec above (residing on yyy, an empty filesystem) is: /vvvv/wwww/xxxx/yyy/zz/ It's obviously a 'copy everything over' operation. I've had to obfuscate the pathnames, however the exact pathlength throughout
2002 May 22
0
Improving the rsync protocol (RE: Rsync dies)
At 08:37 PM 5/20/02, you wrote: >Doing so requires an upfront scan of the entire destination tree, and >for the client to hold all this information in memory. [I accidently sent this to Martin instead of the list...] I wonder if it would be useful to have a partner program that would index the rsync'ed file system (like Tripwire). If the index file exists (or meets other defined
2002 Mar 06
0
rsync hangs in read_int (generator.c line 498)
Hello I'm having a heck of a time rsync'ing (is that the proper conjugation? :)) between two Cygwin machines. I have three directory trees that are "exposed" via rsynch. Two of the three have a very shallow structure, and they work fine. The third, however, has a fairly deep structure and many more files than the other two, and rsync'ing this directory causes a hang on
2008 May 08
2
rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153)
We are rsync'ing from an xp box running cygwin to a redhat box, using a Perl script that fist calls for an ssh tunnel, then calls rsync through local host. ssh -P -f -L 8740:remote.host.ip:873 user@firewall.ip -p 22 sleep 25 rsync -vrtz -v --timeout=180 --exclude-from=exludefiles rsync://localhost:8740/<remote path> <target path>
2016 Jun 15
3
[Bug 11978] New: mkstemp failed: File name too long (36) when filename is under the limit
https://bugzilla.samba.org/show_bug.cgi?id=11978 Bug ID: 11978 Summary: mkstemp failed: File name too long (36) when filename is under the limit Product: rsync Version: 3.1.1 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core
2014 May 07
1
directory permissions not set until all files copied
I noticed today, that rsync does not appear to set the permissions on a directory until all of the contents are in place. this only really becomes noticeable and/or problematic when rsync'ing a large directory tree as root to a new, empty, location. For example, if you have the following tree: /foo /bar /file1 /file2 /baz /file3 /file4 When rsyncing this tree to another
2003 Sep 24
2
rsync files from Windows 2000 to Solaris 8
Hi, I was able to rsync files from Windows 2000 to Solaris 8 but when I opened the text files with vi on solaris, a '^M' char was appended to each line of the files. My question is how to get rid of that '^M' when rsync'ing ? I suspect this is because Windows and Unix treat line feed/carriage return differently, but I just do not want that '^M' shown in the files after
2023 Oct 19
1
Could not convert SID S-0-0, error is NT_STATUS_NONE_MAPPED
Hi all, In my case I see this happen when rsync'ing sysvol from one samba DC to a different one on the target DC when the target DC is on Debian Bookworm with both samba 4.17.<many> and 4.18.8 . It looks like a different behaviour of rsync that I never saw on Bullseye or before, with many different samba versions over the years. I'm using rsync through ssh with rsync -avAX --delete
2013 Feb 13
2
rsync'ing samba shares
I know this has come up a bit in the past, but consider this situation: Two Samba4 DC's - and I want to "mirror" the data shares to the "backup" DC in case we lose the primary DC and it's file shares. [A cheap, dirty, poor-mans semi-CTDB. How did you ever guess that Red Green was helping me?!] The easiest way is probably rsync'ing the data. However, will that
2015 Jun 15
4
Drive problem
I was rsync'ing data from one system to another, and the recipient suddenly started throwing DRDY errors. Now, it's a fairly new WD Red 3TB, and I'd think it was just a bad drive... but I'm really confused by this, from the logs: Jun 15 15:34:43 <servername> kernel: ata3: SError: { Dispar } Dispar? And googling, every reference I find to that word always has something else
2023 Sep 22
2
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
So I decided to do a quick test using the Linux kernel source tree since it has lots of files. I duplicated a tree, used 'find . -type f -exec chmod 444 {} +' to make read only files for rsync to want to chmod, then used cp -al to make several duplicate trees using hard linked files. An rm -rf on one such tree took .97 seconds while an rsync deletion took 1.25 seconds. Clearly I
2015 Jun 16
2
Drive problem
On 06/16/15 07:59, Ashish Yadav wrote: > Hi, > > On Tue, Jun 16, 2015 at 2:26 AM, <m.roth at 5-cent.us> wrote: > >> I was rsync'ing data from one system to another, and the recipient >> suddenly started throwing DRDY errors. Now, it's a fairly new WD Red 3TB, >> and I'd think it was just a bad drive... but I'm really confused by this, >>
2010 Apr 24
1
creating a local repo
rsync'ing ain't working for me. Is this the right syntax? rsync -avrt rsync://mirror.ovh.net/centos/5.4/updates/i386 --exclude=debug/ updates/ rsync: getaddrinfo: mirror.ovh.net 873: Temporary failure in name resolution rsync error: error in socket IO (code 10) at clientserver.c(107) [receiver=2.6.8] -- John Maclean 07739 171 531 MSc (DIC) Enterprise Linux Systems Engineer