similar to: rsync deleting directories when synchronizing

Displaying 20 results from an estimated 4000 matches similar to: "rsync deleting directories when synchronizing"

2012 Dec 18
1
Prevent dereferenced path of symlinked directories from printing on client side log output
I'm trying to figure out if there is some way to run an rsync daemon which makes a mix of "real" and symlinked folders available to a client such that all the folders appear as "real" to the client. I realize the --copy-links and --copy-dirlinks accomplish this when invoked from the client side (and that is currently how I am accomplishing this). Is there any way to
2007 Oct 29
2
symlinks that become directories question
If I have a backup script that does the following: (latest 2.6.9 rsync) rsync --archive --hard-links --force --ignore-errors --numeric-ids --keep-dirlinks --delete / /backup I've found that if there is a symlink in place that gets backed up (which goes fine), i.e.: homelink -> /home/ and then that symlink gets changed into an actual directory, i.e.: rm homelink mkdir homelink rsync
2009 Oct 03
1
--keep-dirlinks --delete erroneously deletes symlinks to directories
Hi, the combination of --keep-dirlinks and --delete (--delete-during, --delete-delay) erroneously deletes symlinks to directories on the receiver. With --delete-before and --delete-after it works as expected. (rsync version 3.0.3 protocol version, on Debian Lenny) I don't think that this behaviour is intended. Details/example: - Host 1 directory-structure: drwx------ ./1
2005 Dec 20
4
rsync deleting symbolic link unexpectedly
I''m running 2.6.6 on a red hat EL3 system. using the following command, rsync -rlptDvzL --stats --include=a/ --include=a/dir/ --include=a/dir/symlink/ --include=a/dir/symlink/dir2/ --include=a/dir/symlink/dir2/dir3/ --exclude=''**'' /export/stuff remote::stuff I expect the "symlink" (which is really a symbolic link to a directory) to be preserved on the
2007 Apr 12
2
error on --copy-dirlinks shortform in manpage
Hi, A minor bug in the manpage was noticed by a Debian user... (Please keep the 418923-forwarded@bugs.debian.org in the Cc list in replies.) diff -u -r1.399 rsync.yo --- rsync.yo 23 Jan 2007 15:34:43 -0000 1.399 +++ rsync.yo 12 Apr 2007 19:30:17 -0000 @@ -724,7 +724,7 @@ also ignored. Using this option in conjunction with bf(--relative) may give unexpected results. -dit(bf(-K,
2015 Apr 17
2
Rsync a directory via a linked name.
On Thu, 16 Apr 2015 11:21:03 -0400, Kevin Korb wrote: > Just go 1 deeper for your source: rsync -l > ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/ Yes, I've tried this before. But I also use the `--delete --delete- excluded' with the above options. And finally I found that the current will not be retrieved, in fact it will be deleted at the end. Then I
2004 Aug 20
3
Using --keep-dirlinks : recursive symlinks problem
Hello folks, trying to make use of the new --keep-dirlinks feature for a synch port; it works excellent but feels incomplete without a way for rsync to ignore recursive links. Example: # ls -la . total 6 drwxrwxr-x 2 bldmstr staff 512 Aug 16 21:42 . drwxrwxr-x 8 bldmstr staff 512 Aug 16 21:41 .. lrwxrwxrwx 1 bldmstr staff 2 Aug 20 12:07 bogus -> .. if you use
2006 Nov 16
2
efficiently synchronizing source and destination
All, I have two fat32 formatted external drives (on the localhost) that need sync'ing. Each of the drives contain different files. The end result I'm looking for is two identical disks. My question is whether or not I can encapsulate this process in a one liner with rsync or if i need to make two independent calls to rsync as follows: rsync -av /path/to/source /path/to/dest &&
2013 Dec 02
2
symlink in -R src_dirlist and real dirs on target
Hi folks, I have a bunch of directories to mirror via rsync. I have lots of hardlinked files spread about these directories. Therfore I use -R (--relative) and -H. so far ok but: I create symlinks to the source-directories via script because src-dirs have changing names (date and time of backup) and I want to have constant directory names on target. How can I achieve that? I thought -k
2009 Jun 29
1
difference between --no-implied-dir abd --keep-dirlinks ?
Hi, I have gone through the rsync documentation and also tested same both --no-implied-dir and --keep-dirlinks options. My question is what is the difference between these options in below scenario? I have /foo/bar is the symlink to /foo/baz at source and same directory structure with symlink is there at destination. When I sync the data from /foo/bar/* with --relative option specified, I am
2005 Jun 03
1
AIX rsync backup problem -- cp with hard link fails
Hi all, I have several AIX systems that would like to do incremental backup. I am using the rsync and cp -al to do that. However, since the entire system is made up of several filesystems on different VGs, I am getting the hard link cp problem, with this error: "Cannot link to a file on another device." How should I get around this problem? Many thanks. Sherry
2008 Jul 07
1
RFE: extend --keep-dirlinks to files also
Hi, I just read the thread http://lists.samba.org/archive/rsync/2004-June/009678.html which describes how --keep-dirlinks came to be. My use case is similar, but I?d like a similar option for files as well. Setup: in my public_html I have some symlinks which I send over as files, with -L (for various reasons: partly, because they are copies of current work which is done elsewhere, or
2015 Apr 16
2
Rsync a directory via a linked name.
Hi all, See the following for detail: $ rsync -l ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/ [snip] drwxr-sr-x 4,096 2015/01/10 18:17:33 . lrwxrwxrwx 18 2015/01/10 18:16:31 current -> 20130613+deb7u2 +b4 drwxr-xr-x 4,096 2013/05/01 05:33:52 20130430 drwxr-sr-x 4,096 2015/01/05 17:25:32 20130613+deb7u2+b4 In the above case, the current
2011 Jun 28
2
rsync 3.0.6 and keep-dirlinks in daemon mode
Hello, I'm trying to push some data from one machine to another via rsync source machine uses rsync 3.0.8, it's a CentOS 5.6 Linux with rsync 3.0.8 package from rpmforge destination machine uses rsync 3.0.6, it's a Scientific Linux 6.0 with rsync 3.0.6 from its repository destination machine is running a rsync daemon with the following configuration: log file = /var/log/rsyncd.log
2015 Mar 27
2
Netflix
Liam O'Toole <liam.p.otoole at ...> writes: > I doubt it. As you say, the NSS version is the blocker. Maybe that > number will get bumped in a future 6.x release. > Maybe. Centos-7 would probably do the job but this machine is 32-bit so it's a non-starter AFAIK.
2007 Apr 11
1
Is There a way to preserve symlink and also copy the actual contents using rsync
Hi On the rsync Server we have rsync path set to say, path= /x/y where 'y' is symlink to some other directory say 'z' on the same machine. Now is there a way to sync 'y' on remote client preserving the symlink as it is and also copy the actual contents from 'z' to say 'z' on the client machine. I have tried using '-l ' option which copies
2015 Apr 08
3
Problems with getty and X on runlevel switch [Was: Re: The future of centos]
On 2015-04-08, Leon Fauster <leonfauster at googlemail.com> wrote: > Am 08.04.2015 um 16:22 schrieb Liam O'Toole > <liam.p.otoole at gmail.com>: >> On 2015-04-08, David Both >> <dboth at millennium-technology.com> >> wrote: >>> The easy way to restart gdm is when you are on the login screen >>> itself or the desktop simply press
2007 Feb 24
4
Overwriting symlinks on OSX
I'm trying to rsync files to a set of symlinked directories on an XServe running OS X. The directories look like this: tna@csx:~/2/2006$ l total 80 lrwxr-xr-x 1 tna tna 39 Feb 24 13:18 2006-01 -> /Volumes/CSArchiveArray001/2006/2006-01 lrwxr-xr-x 1 tna tna 39 Feb 24 13:18 2006-02 -> /Volumes/CSArchiveArray001/2006/2006-02 When I run rsync from Linux in --dry-run mode,
2007 Oct 20
2
Xen stress testing for production
Hi -- I''m just a little nervous about deploying my Xen VMs. Will they perform when in actual production? How stable is Xen, really? So, I thought I would do some stress testing before deploying it. I''d like to test VMs running various services, alone and all together... DNS, HTTP/S, Tomcat, IMAP/SMTPD. Does anyone here have suggestions for load generating software? Or, has
2010 Feb 08
3
ggplot2 stacked line plot
Hi all, I have been hunting around for hours trying to figure out how to generate a stacked line chart using ggplot2. This type of chart can be generated in excel 2007 by selecting: Chart type > Line > Stacked line. I can generate a stacked area chart using the following code: p <- ggplot2(~, aes(x = ~, y = ~, colour = Type)) + geom_area(aes(position = 'stack', fill = Type))