search for: partial_dir

Displaying 10 results from an estimated 10 matches for "partial_dir".

2012 Apr 17
1
Bug#624826: rsync: Bad interaction between -u and --partial
...+ b/cleanup.c 2012-04-15 14:13:58.834033097 +0200 @@ -157,8 +157,9 @@ flush_write_file(cleanup_fd_w); close(cleanup_fd_w); } + cleanup_file->modtime = 0; /* solves problem with --partial --update */ finish_transfer(cleanup_new_fname, fname, NULL, NULL, - cleanup_file, 0, !partial_dir); + cleanup_file, 1, !partial_dir); } /* FALLTHROUGH */ On Sun 01 May 2011, Samuel Thibault wrote: > > Hello, > > My rsync script uses both options -u and --partial. This results into > partial files not being completed: > > - start a transfer, stop it. --parti...
2005 Jan 31
1
[patch] add "--ignore" option
...EXCLUDE_FROM ? XFLG_DEF_EXCLUDE : XFLG_DEF_IGNORE)); break; case 'h': @@ -926,28 +937,28 @@ int i; if (tmpdir) { clean_fname(tmpdir, 1); - if (check_filter(elp, tmpdir, 1) < 0) + if (check_filter(elp, tmpdir, 1) == M_EXCLUDE) goto options_rejected; } if (partial_dir) { clean_fname(partial_dir, 1); - if (check_filter(elp, partial_dir, 1) < 0) + if (check_filter(elp, partial_dir, 1) == M_EXCLUDE) goto options_rejected; } for (i = 0; i < basis_dir_cnt; i++) { clean_fname(basis_dir[i], 1); - if (check_filter(elp, basis_dir[i], 1) &lt...
2004 Sep 02
1
--partiall-dir not behaving like it ought too
Hi, I have awaited the new release inorder to use the -"-partial-dir" option. But after testing it seems that it does not behave like it says on the tin. It will correctly move and rename the interrupted file to the declared directory, but it will not attempt to use it when the client attempts to rsync the file again. I have a Solaris 8 box running as a server (Matthew), and another
2005 Jan 05
2
Preliminary Suggestion For Atomic Transactions
In the past there's been a need to provide consistency between symbolic links or repository metadata during a sync. Currently, rsync renames files piecemeal. The attached patch (extremely ugly) attempts to resolve this by foregoing the rename step until the end. It adds a new option (if we didn't, ls might catch up). There are several issues to get over. The first big one in
2004 Nov 04
1
Problems with --bwlimit && --daemon
...mon_opt) { daemon_opt = 0; am_daemon = 1; @@ -807,12 +813,6 @@ if (do_progress && !verbose) verbose = 1; - if (bwlimit) { - bwlimit_writemax = (size_t)bwlimit * 128; - if (bwlimit_writemax < 512) - bwlimit_writemax = 512; - } - if (inplace) { #if HAVE_FTRUNCATE if (partial_dir) { Thanks for your time, -- Marcelo Ricardo Leitner <mrl@conectiva.com.br>
2005 Nov 01
3
error in rsync protocol data stream (code 12) at io.c(359)
Hi, I've been experiencing this error for 2 weeks now. I don't now ehat could be a reason. I've tried to update with latest sources, but the same result (I'm not sure for line number, but the rest is the same). rsync: connection unexpectedly closed (5881604 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(359) My synchronized
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
...-93,7 +93,10 @@ extern int trust_sender_filter; extern int trust_sender_args; extern struct stats stats; extern char *stdout_format; +extern char *logfile_name; extern char *logfile_format; +extern char *logafter_name; +extern int log_after_transfer; extern char *filesfrom_host; extern char *partial_dir; extern char *rsync_path; @@ -1053,6 +1056,10 @@ static int do_recv(int f_in, int f_out, char *local_name) io_start_buffering_in(f_in); io_start_multiplex_out(f_out); + /* Reopen log file for --log-after */ + if (log_after_transfer) + logfile_name = logafter_name; + recv_files(f_in...
2017 Oct 04
10
[Bug 13071] New: [PATCH] Allow --partial-dir with --inplace
...gets. Could we then think about reviewing and merging this please ? Thank you very much ! Ben (this patch has been written so that current client versions can easily benefit from this using --temp-dir to indicate their partial directory, server code being really easy to modify to take tmpdir as partial_dir) -- You are receiving this mail because: You are the QA Contact for the bug.
2007 Sep 22
0
rsync build on IA64 using icc
...: external declaration in primary source file extern int always_checksum; ^ generator.c(73): remark #1419: external declaration in primary source file extern int checksum_len; ^ generator.c(74): remark #1419: external declaration in primary source file extern char *partial_dir; ^ generator.c(75): remark #1419: external declaration in primary source file extern char *basis_dir[]; ^ generator.c(76): remark #1419: external declaration in primary source file extern int compare_dest; ^ generator.c(77): remark #1419: external d...
2006 Apr 03
30
DO NOT REPLY [Bug 3653] New: Silence 'vanished files' messages
https://bugzilla.samba.org/show_bug.cgi?id=3653 Summary: Silence 'vanished files' messages Product: rsync Version: 2.6.8 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: count-samba@flatline.de