Displaying 20 results from an estimated 8000 matches similar to: "Is There a way to preserve symlink and also copy the actual contents using rsync"
2007 Apr 11
2
Rsync --Copy-links problem
Hi,
I am new to Rsync, but i have successfully used it to sync the contents
between two machines. Now the requirement is to sync the contents which are
symlinks. I need to sync the actual contents on client machine from these
symlinks.
I went through rsync tutorial and found --copy-links options to do my
job i.e, to transform symlink into referent file/dir
Issue:
Rsync Server : The actual
2006 Sep 14
2
HTB and per-connection bandwidth allocation
Hi
http://mailman.ds9a.nl/pipermail/lartc/2002q3/004977.html
I have the same problem to discuss as in the above link. I want to allocate
say X MBit per individual connection regardless of the number of connection
. KIndly could anyonen suggest me how to proceed.
I have tried with SFq but is doesnot yeild my requirement..
Thanks,
Namitha.
_______________________________________________
LARTC
2008 Jan 16
5
xen backup
hi
I am trying to stop the application running in the VM from the host
machine.....that means by typing some command in the host machine, (script
or using some API''s or sending some signal to VM from the host), i want stop
application running in the VM.......is there any way to do this.....if
anybody know this please help me.......
I want this because......I want to take VM consistent
2008 Jan 10
1
regarding xen
hi
i am new to xen, i have created xen set up using sles10 sp1. i am trying to
get any api for taking snapshot of the virtual machine (virual disk ) in the
host machine. Is there any snapshot supported API, which i can use for
taking snapshot of the virtual disk?
please help me in this regards. i have tried a lot for getting such api, but
i could not.
Thanks and regards
namitha
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
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,
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
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
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
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
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 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,
2006 Feb 27
1
Copying many sources to different places inside a destination
Rsync people,
I am preparing to overhaul my Web site's build system, and I am looking
for a convenient way to collect files and directories from various
places on my computer and put them at various locations inside a
destination directory to be posted to my Web site. So far, my script
has been running rsync once for each source, but this is too slow. Is
there a way to get rsync to collect
2006 Nov 13
2
copy symbolic links as real file during syncing files.
Hello, list
Rsync is a amazing tools for files and directories syncing.
There is something unclearly to me. I digged in the web for a while, but
there aren't useful things for me.
Here is my puzzle:
I want to sync one big directory from one host to a remote host. And there
are several symbolic links which linked to some files and directories that
outside the certain directory. I want to
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
2007 Nov 10
3
Funny issue with chroot + symlink outside chroot
Hi,
The problem I found is not in what rsync, but on the error handling:
How to reproduce:
On server side I setup a tree and share using rsync + xinetd, of course, for
security reason I use chroot option.
Now I push this symlink:
lrwxrwxrwx 1 root root 4 nov 10 16:28 horsroot -> /bin/
Now I try to do:
./rsync -avPH --copy-unsafe-links draco::test/ /tmp/rsyncdest/
(Of course the
2008 Jul 09
0
DO NOT REPLY [Bug 5601] New: extend --keep-dirlinks to files also
https://bugzilla.samba.org/show_bug.cgi?id=5601
Summary: extend --keep-dirlinks to files also
Product: rsync
Version: 3.0.2
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: hendrik.maryns@uni-tuebingen.de
2004 Nov 07
2
Symlink file syncing issue
Hi!
I've been attempting to use rsync to sync a set of files between my
laptop and my desktop. I've tried using google to search the archives,
but didn't find anything that addressed this issue exactly... First of
all, here are the details of how I have things set up.
Server acting as the intermediary:
OS: Mac OS X Server 10.3
rsync: 2.6.2
Laptop:
OS: Mac OS X 10.3.6
rsync: 2.6.2
2024 Feb 04
1
rsync replacing symlinks without warning (resend)
Hello,
when trying to rsync files between hosts, I ran into a surprising case
in which rsync replaces a symlink with a directory, with no indication
of any kind.
In the following reproducer, rsync is called as follows:
rsync --verbose --recursive --relative --delete a/./lib/modules b/
Directory b contains a 'lib' symlink pointing to 'usr/lib', and rsync
removes that and