Displaying 20 results from an estimated 30 matches for "rsync_path".
2011 Sep 12
2
Ignoring /boot
...--- start of script -----
#!/bin/sh
#
#
RSYNC_OPTS="--archive --one-file-system --perms --executability --progress
--stats --delete-after --hard-links --keep-dirlinks --verbose --inplace"
RSYNC_USER="bs"
RSYNC_SERVER="192.168.6.6"
RSYNC_MODULE="ben-desktop"
RSYNC_PATH="/"
RSYNC_EXCLUDES="--exclude=/usr/portage/distfiles --exclude=/tmp
--exclude=/var --exclude=/home --exclude=/root --exclude=/usr --exclude=/bin
--exclude=/opt --excl$
MOUNT_FOR_RSYNC="/boot"
mount ${MOUNT_FOR_RSYNC}
#ls -la /boot
rsync --dry-run ${RSYNC_OPTS} --rsync-p...
2003 Dec 16
3
default --rsh
On Mon, Dec 15, 2003 at 10:51:08AM -0800, Wayne Davison wrote:
> On Mon, Dec 15, 2003 at 10:03:28AM -0800, jw schultz wrote:
>
> > The one thing i really would have liked to have seen in a version bump
> > would have been changing the default remote shell to ssh instead of
> > rsh/remsh.
>
> I can see this being both a good thing (since I think it is a better
>
2002 Jan 31
2
configure --with-rsh=CMD and default blocking-IO support
...;------8<------8<------8<---cut here--->8------>8------>8------>8---
Index: rsync/config.h.in
--- rsync/config.h.in 15 Jan 2002 09:53:29 -0000 1.68
+++ rsync/config.h.in 30 Jan 2002 18:45:18 -0000
@@ -303,6 +303,9 @@
#undef RETSIGTYPE
/* */
+#undef RSYNC_RSH
+
+/* */
#undef RSYNC_PATH
/* rsync release version */
Index: rsync/configure.in
--- rsync/configure.in 25 Jan 2002 23:19:21 -0000 1.130
+++ rsync/configure.in 30 Jan 2002 18:45:19 -0000
@@ -78,6 +78,10 @@
AC_ARG_WITH(included-popt,
[ --with-included-popt use bundled popt library, not from system])
+AC_ARG_W...
2002 Aug 02
1
[patch] --link-dest
...namecmpbuf;
}
Index: options.c
===================================================================
RCS file: /cvsroot/rsync/options.c,v
retrieving revision 1.97
diff -u -r1.97 options.c
--- options.c 1 Aug 2002 17:55:11 -0000 1.97
+++ options.c 3 Aug 2002 00:08:47 -0000
@@ -115,6 +115,7 @@
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
int rsync_port = RSYNC_PORT;
+int link_dest = 0;
int verbose = 0;
int quiet = 0;
@@ -289,7 +290,7 @@
OPT_EXCLUDE_FROM, OPT_DELETE, OPT_DELETE_EXCLUDED, OPT_NUMERIC_IDS,
OPT_RSYNC_PATH, OPT_FORCE, OPT_TIMEOUT, OPT_DAEMON, OPT_CONFIG, OPT_POR...
2002 Feb 21
1
[patch] configurable RSYNCD_CONF
...c/rsyncd.conf"
+
+/* RSYNCD_CONF is always set in config.h */
#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
#define URL_PREFIX "rsync://"
--- configure.in.orig Wed Feb 20 08:40:47 2002
+++ configure.in Thu Feb 21 01:26:47 2002
@@ -85,6 +85,30 @@
AC_DEFINE_UNQUOTED(RSYNC_PATH, "$RSYNC_PATH", [location of rsync on remote machine])
+AC_ARG_WITH(rsyncd-conf,
+ AC_HELP_STRING([--with-rsyncd-conf=PATH], [set configuration file for rsync server to PATH (default: /etc/rsyncd.conf)]),
+ [ if test ! -z "$with_rsyncd_conf" ; then
+ case $with_rsyncd_conf in...
2007 Jan 18
1
Replicating a tree with root permissions
...don't replicate correctly. These file permissions are the REAL problem; if the permissions aren't correct, the tree isn't useful.
Current rsync command-line:
rsync -e rsh --stats --delete -avz --ignore-errors --blocking-io --exclude-from="exclude.list" --rsync-path="rsync_path" remote_host:/my/source/dir /my/source
The most recent failure involves files which are owned by root; if I run the setuid wrapper script from a user account, the permissions are not updated; if I run the setuid script as root (and change the command line to add "user@remote_host), then...
2002 Mar 22
1
[PATCH] --link-dest option
...mecmpbuf;
}
Index: options.c
===================================================================
RCS file: /cvsroot/rsync/options.c,v
retrieving revision 1.89
diff -u -r1.89 options.c
--- options.c 19 Mar 2002 20:16:42 -0000 1.89
+++ options.c 21 Mar 2002 23:31:27 -0000
@@ -113,6 +113,7 @@
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
int rsync_port = RSYNC_PORT;
+int link_dest = 0;
int verbose = 0;
int quiet = 0;
@@ -282,7 +283,7 @@
OPT_EXCLUDE_FROM, OPT_DELETE, OPT_DELETE_EXCLUDED, OPT_NUMERIC_IDS,
OPT_RSYNC_PATH, OPT_FORCE, OPT_TIMEOUT, OPT_DAEMON, OPT_CONFIG, OPT_POR...
2005 Nov 01
2
request: add TCP buffer options to rsync CLI?
Dear rsync folks,
I'd like to request/suggest that cli options to set TCP send/receive buffers
be added to rsync client-side.
Summary:
I'm aware that a daemon's config-file can set socket options for
the server side
(e.g. SO_SNDBUF, SO_RCVBUF). That is useful.
But when trying to get high-throughput rsync over
long paths (i.e. large bandwidth*delay product), since
2004 Jan 27
1
Differentiating debug messages from both sides
...0f\n",
+ *who_am_i, i,
NS(flist->files[i]->dirname),
NS(flist->files[i]->basename),
(int) flist->files[i]->mode,
--- main.c 27 Jan 2004 08:05:10 -0000 1.185
+++ main.c 27 Jan 2004 07:59:07 -0000
@@ -56,6 +56,8 @@ extern char *remote_filesfrom_file;
extern char *rsync_path;
extern char *shell_cmd;
extern struct file_list *batch_flist;
+extern char *who_am_i;
+
/* there's probably never more than at most 2 outstanding child processes,
* but set it higher just in case.
@@ -198,7 +200,7 @@ static void show_malloc_stats(void)
getpid(),
am_server ? "...
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
...dir newer or older) added.
--------------------------------------------------------------------
*** work/rsync-3.0.7/options.c.orig 2009-12-22 00:40:41.000000000 +0200
--- work/rsync-3.0.7/options.c 2010-07-09 15:16:22.000000000 +0300
***************
*** 165,170 ****
--- 165,171 ----
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
char backup_dir_buf[MAXPATHLEN];
+ long check_point = -1;
char *sockopts = NULL;
int rsync_port = 0;
int compare_dest = 0;
***************
*** 325,330 ****
--- 326,332 ----
rprintf(F," -b, --backup make backups (see --suffix &...
2006 Jan 02
0
Getting Cannot compute sizeof (int) on rsync-2.6.6
...checking size of int... configure: error: cannot compute sizeof (int), 77
See `config.log' for more details.
In the config.log it shows the following:
#define PACKAGE_VERSION ""
#define RSYNCD_SYSCONF "/etc/rsyncd.conf"
#define RSYNC_PATH "rsync"
#define RSYNC_RSH "ssh"
#define RSYNC_VERSION "2.6.6"
#define TIME_WITH_SYS_TIME 1
#define WORDS_BIGENDIAN 1
#define _GNU_SOURCE 1
#define _LARGE_FILES 1...
2007 Aug 21
1
DO NOT REPLY [Bug 4907] New: --disable-ipv6 disables -4 option
...5:52.617307000 +0200
+++ rsync-2.6.9/options.c 2007-08-21 21:12:17.462669790 +0300
@@ -533,8 +533,8 @@ static struct poptOption long_options[]
{"rsh", 'e', POPT_ARG_STRING, &shell_cmd, 0, 0, 0 },
{"rsync-path", 0, POPT_ARG_STRING, &rsync_path, 0, 0, 0 },
{"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 },
-#ifdef INET6
{"ipv4", '4', POPT_ARG_VAL, &default_af_hint, AF_INET, 0, 0 },
+#ifdef INET6
{"ipv6", '6', POPT_ARG_VAL, &de...
2006 Jan 02
0
SUMMARY--Getting Cannot compute sizeof (int) on rsync-2.6.6
...checking size of int... configure: error: cannot compute sizeof (int), 77
See `config.log' for more details.
In the config.log it shows the following:
#define PACKAGE_VERSION ""
#define RSYNCD_SYSCONF "/etc/rsyncd.conf"
#define RSYNC_PATH "rsync"
#define RSYNC_RSH "ssh"
#define RSYNC_VERSION "2.6.6"
#define TIME_WITH_SYS_TIME 1
#define WORDS_BIGENDIAN 1
#define _GNU_SOURCE 1
#define _LARGE_FILES 1...
2006 May 24
0
rsync connection limit
...t", 0, POPT_ARG_INT, &io_timeout, 0, 0, 0 },
+ {"contimeout", 0, POPT_ARG_INT, &do_timeout, 0, 0, 0 },
{"rsh", 'e', POPT_ARG_STRING, &shell_cmd, 0, 0, 0 },
{"rsync-path", 0, POPT_ARG_STRING, &rsync_path, 0, 0, 0 },
{"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 },
@@ -1612,6 +1614,12 @@
goto oom;
args[ac++] = arg;
}
+
+ if (do_timeout) {
+ if (asprintf(&arg, "--contimeout=%d", do_timeout) < 0)
+ goto oom;
+ args[ac++] = arg;
+ }...
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...INTEGER(lp_rsync_port, &Globals.rsync_port)
FN_LOCAL_STRING(lp_name, name)
FN_LOCAL_STRING(lp_comment, comment)
diff --unified -r rsync-2.6.2/main.c rsync-dmn/main.c
--- rsync-2.6.2/main.c Mon Feb 9 22:54:47 2004
+++ rsync-dmn/main.c Tue Sep 28 12:58:28 2004
@@ -57,6 +57,7 @@
extern char *rsync_path;
extern char *shell_cmd;
extern struct file_list *batch_flist;
+extern char* config_file;
/* there's probably never more than at most 2 outstanding child processes,
@@ -1000,6 +1001,14 @@
* code here, rather than relying on getopt. */
option_error();
exit_cleanup(RERR_SYNTAX);...
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG,
I want to do incremental backups to a remote server running rsyncd
(because daemonless transfer via ssh often hangs!). In contrast to
transfer via ssh (without remote rsyncd) this doesn't seem possible, or
do I miss something?
Imagine I want to incrementally backup `mydir' to the backup space
`backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2010 Apr 19
2
from solaris to linux: /usr/local/bin/rsync: No such file or directory
Moin,
I want to use rsysnc to get files from a linux box to a solaris server.
root at solaris:/root # which rsync
/usr/local/bin/rsync
root at solaris:/var/log/r5backup # rsync --version
rsync version 3.0.7 protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 32-bit timestamps,
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...roto.h
-5 +21 receiver.c
-0 +6 rsync.c
-0 +7 rsync.h
-------------- next part --------------
patchwork diff options.c
--- options.c 2004-02-09 15:42:40.000000000 -0500
+++ options.c 2004-02-09 15:42:40.000000000 -0500
@@ -117,6 +117,7 @@
char *password_file = NULL;
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
+char *link_by_hash_dir = NULL;
int rsync_port = RSYNC_PORT;
int link_dest = 0;
@@ -258,6 +259,7 @@
rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n");
rprintf(F," --compare-dest=DIR also comp...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...nection.o authenticate.o
popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \
popt/popthelp.o popt/poptparse.o
patchwork diff options.c
--- options.c 2004-02-23 10:22:51.000000000 -0500
+++ options.c 2004-02-23 10:29:14.000000000 -0500
@@ -119,6 +119,7 @@
char *password_file = NULL;
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
+char *link_by_hash_dir = NULL;
char backup_dir_buf[MAXPATHLEN];
int rsync_port = RSYNC_PORT;
int link_dest = 0;
@@ -264,6 +265,7 @@
rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n");
rprintf(F," -...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...nection.o authenticate.o
popt_OBJS=popt/findme.o popt/popt.o popt/poptconfig.o \
popt/popthelp.o popt/poptparse.o
patchwork diff options.c
--- options.c 2004-02-17 10:36:44.000000000 -0500
+++ options.c 2004-02-17 10:36:44.000000000 -0500
@@ -119,6 +119,7 @@
char *password_file = NULL;
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
+char *link_by_hash_dir = NULL;
char backup_dir_buf[MAXPATHLEN];
int rsync_port = RSYNC_PORT;
int link_dest = 0;
@@ -264,6 +265,7 @@
rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n");
rprintf(F," -...