Displaying 7 results from an estimated 7 matches for "allowed_lull".
2005 Apr 06
2
backup option
Hi,
I have question about the behavior of --backup-dir with
--delete-after option.
In my testing with version 2.6.4, it appears that the backup
option only backups altered files. Files that will be deleted on the
destination system will NOT be placed in --backup-dir location. I would
like to back up deleted files. Is there a way to do this?
Thanks
2008 Mar 04
1
preserve ctimes of *unchanged* directories on receiver
'rsync -a' updates the ctime on a directory even if no file in that directory
has changed. A kind of workaround is to use '-O', but then the mtimes of
directories are not preserved.
(Usage example where this is important: maintain a copy of filesystem A in
filesystem B, and use filesystem B as the source for incremental backups
(e.g., with star). rsync is run before an
2024 Mar 18
0
[PATCH] add option to skip files based on age/mtime
.../generator.c
index 110db28f..22f0973f 100644
--- a/generator.c
+++ b/generator.c
@@ -70,6 +70,8 @@ extern int ignore_times;
extern int size_only;
extern OFF_T max_size;
extern OFF_T min_size;
+extern int max_age;
+extern int min_age;
extern int io_error;
extern int flist_eof;
extern int allowed_lull;
@@ -1706,6 +1708,23 @@ static void recv_generator(char *fname, struct
file_struct *file, int ndx,
goto cleanup;
}
+ if (max_age > 0 && time(NULL)-file->modtime > max_age) {
+ if (INFO_GTE(SKIP, 1)) {
+ if (solo_file)
+ fname = f_name(file, NULL);
+ rprintf(FINFO,...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...amp;& fuzzy_dirlist && dry_run <= 1) {
+ if (statret != 0 && fuzzy_dirlist) {
int j = find_fuzzy(file, fuzzy_dirlist);
if (j >= 0) {
fuzzy_file = fuzzy_dirlist->files[j];
@@ -2125,6 +2127,7 @@ void generate_files(int f_out, const char *local_name)
lull_mod = allowed_lull * 5;
symlink_timeset_failed_flags = ITEM_REPORT_TIME
| (protocol_version >= 30 || !am_server ? ITEM_REPORT_TIMEFAIL : 0);
+ implied_dirs_are_missing = relative_paths && !implied_dirs && protocol_version < 30;
if (verbose > 2)
rprintf(FINFO, "generator st...
2009 Nov 04
0
PATCH: fast copy of files in local server mode
...le_sum2, sum_len);
if (verbose > 2)
rprintf(FINFO,"got file_sum\n");
diff -au rsync-3.0.6/sender.c rsync-3.0.6.fast/sender.c
--- rsync-3.0.6/sender.c 2009-04-12 22:48:59.000000000 +0300
+++ rsync-3.0.6.fast/sender.c 2009-09-23 22:24:59.000000000 +0300
@@ -35,6 +35,8 @@
extern int allowed_lull;
extern int preserve_xattrs;
extern int protocol_version;
+extern int local_server;
+extern int local_socket;
extern int remove_source_files;
extern int updating_basis_file;
extern int make_backups;
@@ -319,6 +321,16 @@
path,slash,fname, (double)st.st_size);
}
+ /* send_fd for fast...
2007 Sep 22
0
rsync build on IA64 using icc
...ark #1419: external declaration in primary source file
extern OFF_T min_size;
^
generator.c(66): remark #1419: external declaration in primary source file
extern int io_error;
^
generator.c(67): remark #1419: external declaration in primary source file
extern int allowed_lull;
^
generator.c(68): remark #1419: external declaration in primary source file
extern int sock_f_out;
^
generator.c(69): remark #1419: external declaration in primary source file
extern int ignore_timeout;
^
generator.c(70): remark #1419: external declar...
2008 May 21
35
DO NOT REPLY [Bug 5478] New: rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)
https://bugzilla.samba.org/show_bug.cgi?id=5478
Summary: rsync: writefd_unbuffered failed to write 4092 bytes
[sender]: Broken pipe (32)
Product: rsync
Version: 3.0.3
Platform: Other
URL: https://bugzilla.samba.org/show_bug.cgi?id=1959
OS/Version: Linux
Status: NEW
Severity: normal