search for: backup_suffix

Displaying 20 results from an estimated 28 matches for "backup_suffix".

2003 Jul 29
1
"-b --suffix '' --delete --backup-dir /path/" combination does not act as expected
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030728/49616c2f/attachment.bin
2004 Apr 07
2
--suffix problem - possibly bug?
I'm having an issue with the --suffix and -b flags - I've tried the following commands: rsync -avbr --backup-dir=/rsyncbackup rsynctest user@server.com::module rsync -avbr --backup-dir=/rsyncbackup --suffix="" rsynctest user@server.com::module and either way, I wind up with a tilde as a suffix on all the files moved into the backup directory at time of synchronization.
2003 Aug 06
1
Should --progress implicitly assert -v?
...t stores the filename in batch_prefix for us */ write_batch = 1; @@ -629,6 +633,10 @@ if (relative_paths < 0) relative_paths = files_from? 1 : 0; + + if (do_progress & (!verbose)) { + verbose++; + } if (!backup_suffix) backup_suffix = backup_dir? "" : BACKUP_SUFFIX;
2002 Apr 02
2
Handling of backup files - two new features proposed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear list members, there are two new rsync-features I made up and would like to discuss with you. If you think these new features might be useful for the whole rsync-community, please give me a note and I'll send you the patches (or post them here). 1.) Setting owner and/or group of backup files. In our servers I'm using rsync to backup
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
...(F," -b, --backup make backups (see --suffix & --backup-dir)\n"); rprintf(F," --backup-dir=DIR make backups into hierarchy based in DIR\n"); rprintf(F," --suffix=SUFFIX set backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX); + rprintf(F," --check-point=FILE don't delete files newer than FILE\n"); rprintf(F," -u, --update skip files that are newer on the receiver\n"); rprintf(F," --inplace update destination files in-place (SEE MAN PAGE)\...
2008 Mar 11
0
[PATCH] Comment an obscure bit of code that sets the --suffix-dels default.
...ore work on backup-dir-dels... options.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/options.c b/options.c index 459ad58..ed21704 100644 --- a/options.c +++ b/options.c @@ -1479,6 +1479,11 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain) backup_suffix); return 0; } + /* --suffix-dels defaults to --suffix, or empty for a client given an + * explicit --backup-dir-dels (just as --suffix defaults to empty when + * a --backup-dir is given). The second case does not apply to the + * server for consistency with server_options, which sends --su...
2003 Sep 05
1
new option suggestion '--backup-only'
...=================================================================== diff -ur rsync/backup.c rsync-backuponly/backup.c --- rsync/backup.c 2003-08-22 09:30:46.000000000 +0900 +++ rsync-backuponly/backup.c 2003-09-02 15:29:03.000000000 +0900 @@ -25,6 +25,7 @@ extern int backup_dir_len; extern char *backup_suffix; extern char *backup_dir; +extern int backup_only; extern int am_root; extern int preserve_devices; @@ -133,21 +134,26 @@ int keep_trying = 4; int keep_path_extfs = 0; int failed; + int saveerrno; while (keep_trying) { - if (keep_path_extfs) { + if (keep_path_extfs || backup_only)...
2003 Mar 08
1
[patch] rsync over existing I/O connections (new feature)
...h(stderr); diff -urN rsync-2.5.4-2/options.c rsync-2.5.4-2apc/options.c --- rsync-2.5.4-2/options.c Mon Sep 30 10:09:17 2002 +++ rsync-2.5.4-2apc/options.c Thu Mar 6 15:34:59 2003 @@ -106,6 +106,9 @@ int write_batch = 0; int read_batch = 0; +int force_f_in = -1; +int force_f_out = -1; + char *backup_suffix = BACKUP_SUFFIX; char *tmpdir = NULL; char *compare_dest = NULL; @@ -261,6 +264,7 @@ rprintf(F," --bwlimit=KBPS limit I/O bandwidth, KBytes per second\n"); rprintf(F," --write-batch=PREFIX write batch fileset starting with PREFIX\n"); rprintf(F,&qu...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...am is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -83,6 +84,7 @@ int ignore_errors=0; int modify_window=0; int blocking_io=-1; +int compare_auto=0; /** Network address family. **/ @@ -104,6 +106,7 @@ char *backup_suffix = BACKUP_SUFFIX; char *tmpdir = NULL; char *compare_dest = NULL; +char *compare_file = NULL; char *config_file = NULL; char *shell_cmd = NULL; char *log_format = NULL; @@ -155,7 +158,7 @@ rprintf(f, "%s version %s protocol version %d\n", RSYNC_NAME, RSYNC_...
2001 Dec 08
0
Should --write-batch always sync the target tree?
...omething used more often - I expect not too many people to use the rsync+ features (but I could be wrong, of course). --- receiver.c 7 May 2001 06:59:37 -0000 1.33 +++ receiver.c 7 Dec 2001 02:16:04 -0000 @@ -36,6 +36,7 @@ extern char *compare_dest; extern int make_backups; extern char *backup_suffix; +extern int write_batch; static struct delete_list { dev_t dev; @@ -357,6 +358,12 @@ if (!am_server) { log_transfer(file, fname); } + continue; + } + + if (wr...
2008 Mar 11
0
[PATCH] Improve --help descriptions of --*-dels options.
...tf(F," -b, --backup make backups (see --suffix & --backup-dir)\n"); rprintf(F," --backup-dir=DIR make backups into hierarchy based in DIR\n"); rprintf(F," --suffix=SUFFIX set backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX); - rprintf(F," --backup-dir-dels make backups of removed files into current dir\n"); - rprintf(F," --suffix-dels=SUFFIX set removed-files suffix (defaults to --suffix)\n"); + rprintf(F," --backup-dir-dels=DIR backup removed files into hierarchy ba...
2002 Jun 21
1
small security-related rsync extension
...@@ X #include "rsync.h" X #include "popt.h" X X+#ifdef HAVE_CHMOD X+int priv_backups = 0; X+#endif X int make_backups = 0; X int whole_file = -1; X int copy_links = 0; X@@ -188,6 +191,7 @@ X rprintf(F," -b, --backup make backups (default %s suffix)\n",BACKUP_SUFFIX); X rprintf(F," --backup-dir make backups into this directory\n"); X rprintf(F," --suffix=SUFFIX override backup suffix\n"); X+ rprintf(F," --priv-backups preserve set[ug]id on backups\n"); X rprintf(F," -u, --updat...
2013 Oct 24
0
patch for combining detect-renamed and fileflags patches (fwd)
...a/delete.c b/delete.c --- a/delete.c +++ b/delete.c -@@ -25,6 +25,7 @@ +@@ -23,6 +23,7 @@ + #include "rsync.h" + extern int am_root; ++extern int detect_renamed; extern int make_backups; extern int max_delete; -+extern int detect_renamed; - extern char *backup_dir; - extern char *backup_suffix; - extern int backup_suffix_len; -@@ -44,6 +45,8 @@ static inline int is_backup_file(char *fn) + extern int force_change; +@@ -45,6 +46,8 @@ * its contents, otherwise just checks for content. Returns DR_SUCCESS or * DR_NOT_EMPTY. Note that fname must point to a MAXPATHLEN buffer! (The *...
2001 Nov 13
2
direct write patch
...6/receiver.c rsync-2.4.6-direct-write/receiver.c --- rsync-2.4.6/receiver.c Thu Mar 30 06:23:03 2000 +++ rsync-2.4.6-direct-write/receiver.c Sun Nov 11 11:14:43 2001 @@ -34,6 +34,7 @@ extern char *tmpdir; extern char *compare_dest; extern int make_backups; +extern int direct_write; extern char *backup_suffix; static struct delete_list { @@ -302,7 +303,8 @@ int fd1,fd2; STRUCT_STAT st; char *fname; - char fnametmp[MAXPATHLEN]; + char *fnametmp; + char fnametmpbuf[MAXPATHLEN]; char *fnamecmp; char fnamecmpbuf[MAXPATHLEN]; struct map_struct *buf; @@ -314,6 +316,7 @@ extern int preserve_pe...
2004 Apr 27
1
rsync-2.6.1 close() fixes
...F) rprintf(F," -b, --backup make backups (see --suffix & --backup-dir)\n"); rprintf(F," --backup-dir make backups into this directory\n"); rprintf(F," --suffix=SUFFIX backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX); + rprintf(F," -f, --fsync fsync every written file\n"); rprintf(F," -u, --update update only (don't overwrite newer files)\n"); rprintf(F," -l, --links copy symlinks as symlinks\n"); rprintf(F," -L, --...
2003 Jun 24
2
[PATCH] Limit recursion depth
...recurse into directories\n"); + rprintf(F," -N --recursive-level maximum depth of recursion\n"); rprintf(F," -R, --relative use relative path names\n"); rprintf(F," -b, --backup make backups (default %s suffix)\n",BACKUP_SUFFIX); rprintf(F," --backup-dir make backups into this directory\n"); @@ -338,6 +340,7 @@ {"server", 0, POPT_ARG_NONE, &am_server , 0, 0, 0 }, {"sender", 0, POPT_ARG_NONE, 0, OPT_SENDER, 0, 0 }, {&quot...
2004 Apr 15
0
Multiple compare-dest args
...if (statret == -1) Only in rsync-2.6.1pre-1-vidar/lib: dummy diff -ru rsync-2.6.1pre-1/options.c rsync-2.6.1pre-1-vidar/options.c --- rsync-2.6.1pre-1/options.c 2004-02-22 09:56:43.000000000 +0100 +++ rsync-2.6.1pre-1-vidar/options.c 2004-04-15 11:29:35.000000000 +0200 @@ -112,7 +112,8 @@ char *backup_suffix = NULL; char *tmpdir = NULL; -char *compare_dest = NULL; +char *compare_dest[MAX_COMP_DEST+1]; +int num_comp_dest = 0; char *config_file = NULL; char *shell_cmd = NULL; char *log_format = NULL; @@ -301,7 +302,7 @@ } enum {OPT_VERSION = 1000, OPT_SENDER, OPT_EXCLUDE, OPT_EXCLUDE_FROM, -...
2004 Jan 24
2
[PATCH] --links-depth for rsync
...int archive_mode = 0; int copy_links = 0; int preserve_links = 0; +int follow_links_depth = 0; int preserve_hard_links = 0; int preserve_perms = 0; int preserve_devices = 0; @@ -224,6 +225,7 @@ rprintf(F," --suffix=SUFFIX backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX); rprintf(F," -u, --update update only (don't overwrite newer files)\n"); rprintf(F," -l, --links copy symlinks as symlinks\n"); + rprintf(F," --links-depth=NUM follow symlinks up to NUM depth\n"); rprintf(F,"...
2004 Apr 27
1
[PATCH] Inplace option for rsync
...g_io = -1; int checksum_seed = 0; +int inplace = 0; unsigned int block_size = 0; @@ -231,6 +232,7 @@ rprintf(F," --backup-dir make backups into this directory\n"); rprintf(F," --suffix=SUFFIX backup suffix (default %s w/o --backup-dir)\n",BACKUP_SUFFIX); rprintf(F," -u, --update update only (don't overwrite newer files)\n"); + rprintf(F," --inplace update the destination file inplace *SEE MAN PAGE*\n"); rprintf(F," -l, --links copy symlinks as symlinks\n")...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.