search for: rsync_cmd

Displaying 7 results from an estimated 7 matches for "rsync_cmd".

Did you mean: sync_cmd
2004 May 05
5
rsync and Perl programming
...tion going on between Perl and the daemon mode communication for the rsync client, and I'm at my wit's end in trying to figure it out. Here's the Perl script: ##################################################### ##################################################### #!/usr/bin/perl $rsync_cmd = "/usr/local/bin/rsync -a --progress --password-file=/usr/local/etc/rsyncd.passwd ph34r@localhost::samba/rsynctestfiles /usr/share/smbshare/rsynctestfiles"; $pid = open(PH, "$rsync_cmd 2>&1 |"); # with an openpipe while (<PH>) { #...
2008 Sep 23
1
help required for passing parameters to rsync within a script
...;+ CONC*' --filter='- *' . michael@ratty.phy.umist.ac.uk:/data_hdd1/michael/`basename $PWD` but I can't see how to sort FILTER in this bash script such that + and */ all work properly... ta, Michael # cmd - need newer than system rsync RSYNC_EXE=${HOME}/src/rsync-2.6.9__icc/rsync RSYNC_CMDS='--times --links -z --progress --stats -v --dry-run -rP' # source top-level SRC=. # from here down # dest (remote) DEST=michael@ratty.phy.umist.ac.uk:/data_hdd1/michael/`basename $PWD` # ensure in same dir on remote # filter: all subdirs but only CONC* files FILTER="--filter=+ \* --f...
2006 Jan 27
2
How to rsync PULL multiple files/dirs
Hi all, I am wondering how do I pull data from a remote host without running a daemon. PUSH command I would like the below statement be turned into a PULL from remote host instead. /usr/bin/rsync -e ssh --archive --sparse --compress --update --verbose --stats --progress --exclude=cdersync.tar.gz --exclude=*.bz2 --exclude=*.jpg --exclude=*.mp3 --exclude=ZDE --exclude=*.rpm --exclude=*.sit
2009 Oct 08
0
rsync+zfs rotate script
here is my script to rsync a directory to a zfs filesystem, rotate existing snapshots, then create a "latest" snapshot. work to be done - check for an include/exclude list for the rsync command - create a monthly snapshot be careful of possible line wraps #!/bin/sh RSYNC_CMD="/usr/local/bin/rsync -axS --delete-delay --stats" # first argument is the remote server to connect (ie. server1) # second argument is the remote target (ie. /home/) note trailing slashes just like in rsync # third argument is which pool to use (ie. tank) # fourth argument is what ZFS fi...
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
...tumbled across an idea - to test previous versions of rsync to if any of them worked better with cygwin. Here are the (hopefully helpful) results of those tests. I did three tests for each version of cygwin: locallist: rsync -n --stats --recursive --rsh=ssh sync/ /home/drsync/ get: RSYNC_CMD="rsync --verbose --progress --stats -auz -e ssh" $RSYNC_CMD myuser@myserver.com:sync/ sync/ put: RSYNC_CMD="rsync --verbose --progress --stats -auz -e ssh" $RSYNC_CMD sync/ myuser@myserver.com:sync/ When rsync was hanging, it did so usually by the third time I ra...
2008 Aug 19
1
rsync hangs after aborting a process
Greetings. In testing an rsync backup script I'd created, I made a mistake and aborted the running script with a ctrl-C keyboard interrupt. The command that was running at the time was as follows: ${RSYNC_CMD} -aNHAXx --protect-args --fileflags --force-change --rsync-path="/usr/local/bin/rsync" <username>@<my.server.com>:${CPY_SRC} ${CPY_DEST} The expected data transfer was somewhere in the range of 150GB, but all in small-to-medium sized text files and images. The transfer was a...
2009 Oct 25
21
zfs inotify?
OK, so this may be a little off-topic, but here goes: The reason I switched to OpenSolaris was primarily to take advantage of ZFS''s features when storing my digital imaging collection. I switched from a pretty stock Linux setup, but it left me at one disadvantage. I had been using inotify under Linux to trigger a series of Ruby scripts that would do all the basic ingestion/setup for