Displaying 20 results from an estimated 300 matches similar to: "when using --backup-dir: why not make_bak_dir() . . ."
2001 Sep 19
3
permissions bug w/ --backup-dir or --backup option?
Running rsync 2.4.7pre1, using the --backup-dir option, I just realized
today that file ownerships and permissions of backed up files are not
preserved. In other words, if rsync moves an obsolete file to the backup
dir, it's ownership seems to revert to root:root, and permissions change, as
well. We are also using the -a (archive) option, by the way, which should
mean "preserve
2008 May 16
1
3.0.2: make_bak_dir mkdir ...: File exists (17)
Yesterday I upgraded rsync from 2.6.9 to 3.0.2 (as part of upgrading
Fedora 8 to Fedora 9). Today, I received these unexpected errors:
rsync: make_bak_dir mkdir "/backup/server/../server-before-5/var"
failed: File exists (17)
rsync: keep_backup failed: "/backup/server/var/lib/rpcbind/rpcbind.file"
-> "../server-before-5/var/lib/rpcbind/rpcbind.file": Success (0)
2010 Mar 08
1
Getting EEXIST out of make_bak_dir()
I have users running rsync 3.0.6 on Mac OS 10.5 and 10.6 with the following arguments (for example):
rsync -aNHAXx --fileflags --force-change --no-inc-recursive --delete-during --filter="P _Archive*" --filter="P /*" --backup --backup-dir="_Archive_2010_March_07_22-27-43" / /Volumes/Backup
I can't seem to figure out how make_bak_dir could be returning this error
2014 Mar 25
1
Intermittent make_bak_dir mkdir "<path>" failed: File exists (17)
Rare and intermittent message groups suggest a race condition ... ?
Here's the pattern of messages:
rsync: make_bak_dir mkdir <path> failed: File exists (17)
rsync: keep_backup failed: <path> -> <path>: No such file or directory (2)
rsync: stat <path> failed: No such file or directory (2)
How rarely? We run a scripted rsync daily on ~50 personal computers and
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
All callers of robust_rename() call copy_file() if EXDEV is received. This
patch moves the copy_file() call into robust_rename().
Patch Summary:
-12 +1 backup.c
-15 +2 rsync.c
-9 +33 util.c
-------------- next part --------------
patchwork diff util.c
--- util.c 2004-02-17 09:58:44.000000000 -0500
+++ util.c 2004-02-17 10:21:22.000000000 -0500
@@ -355,16 +355,40 @@
2007 Apr 03
0
Modifications to NOT recursively make_backup
Hi:
Suppose I have the following files on my target volume:
/Applications/[45,000 sub files and directories]
/Developer/[120,000 sub files and directories]
... (another 8 or so directories with lots of files and sub directories)
/usr/ [75,000 sub files and directories]
For a total of approximately 500K files and directories. On my
source, I have only a handful of items:
/Data/ [70 items]
2010 Sep 23
2
rename(2) errno processing
Hello,
I've been porting rsync-3.0.7 to run on UWIN, an AT&T Labs open source project, supporting a Unix environment on Windows. The code configured easily and compiled without any modifications or ifdef's added to the code.
The backup test was failing because it didn't create a subdirectory. In tracing the code I realized the problem was in robust_move() in backup.c. UWIN returns
2012 Aug 10
1
Persistent, sporadic failure in make_bak_dir mkdir
Through several versions up to and including the current 3.0.9 I experience sporadic, repeating (but not predictably) errors of this form:
> rsync: make_bak_dir mkdir "/REPO/backup/XXXX-data1-20120727-040453" failed: File exists (17)
> rsync: keep_backup failed: "/REPO/backup/XXXX-data1/data1/A182/tb5178/tb5178.hebb/out.TENT_warn.txt" ->
2003 Sep 05
1
new option suggestion '--backup-only'
Hi,
How about adding now option '--backup-only' that means making backups
only and don't change any destination files?
(I posted similar patch a month ago, but the patch was made for
nightly snapshot of 20020808, which was tooo old! Laugh at me...)
I want to use rsync with LVM snapshot to make incremental backups like
below:
1) Make LVM snapshot of file system and mount it.
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
2004 Feb 06
4
memory reduction
As those of you who watch CVS will be aware Wayne has been
making progress in reducing memory requirements of rsync.
Much of what he has done has been the product of discussions
between he and myself that started a month ago with John Van
Essen.
Most recently Wayne has changed how the file_struct and its
associated data are allocated, eliminating the string areas.
Most of these changes have been
2004 Feb 10
3
rsync 2.6.1cvs dumps core when preserve_hard_links and backup
I tried rsync 2.6.1cvs on my FreeBSD 4.X boxes.
It dumps core when preserve_hard_links and backup.
And SUPPORT_HARD_LINKS is true.
rsync -avH --delete --backup --backup-dir=/some/backup/dir \
srchost::dir/ dir/
The core says...
------------------------------------------------------------------------
Program terminated with signal 11, Segmentation fault.
#0 0x80536c0 in keep_backup
2002 Jun 21
1
small security-related rsync extension
Included below is a shar archive containing two patches that together:
1) make backup files get their setuid and setgid bits stripped by
default
2) add a "-s" option that allows backup files to continue to have
these privileges
This means that if you update a collection of binaries with rsync, and
one or more of them has a local-root security problem, the backup
file(s) created when
2005 Nov 19
3
Permissions problem I don't understand
I am try to use rsync from my windows box (under cygwin) to back up "My
Documents" on to a debian server (known on my home network as roo.home)
running rsyncd from inetd where it is run as root.
my rsyncd.conf file sets the gid and uid to user backup.backup thusly:-
syslog facility = daemon
uid = backup
gid = backup
hosts allow = 192.168.0.0/24
hosts deny = 0.0.0.0/0
timeout = 600
2002 Mar 27
2
rsync-2.5.4:backup.c possible bug
Hello,
I suspect a minor bug in the file rsync-2.5.4/backup.c line 206.
To identify too-long pathnames, it makes the following test:
if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1))
I think that the constant subtracted off should be 2, to account both for
the forward-slash and for the trailing zero in the following snprintf
statement, line 211:
snprintf(keep_name, sizeof
2012 Mar 23
0
Getting EEXIST out of make_bak_dir()
Hello everybody,
this is a reply to the discussion found at:
http://comments.gmane.org/gmane.network.rsync.general/22018)
I still get this error from time to time, so I suppose it is not fixed in
version 3.0.9. Just downloaded the patch and recompiled will test the next
days.
Is there a bug report for this in bugzilla? Could not find anything.
--
Best regards,
Chris
2005 May 31
0
[Bug 2758] New: "File exists" error using options -b and --backup-dir with device files.
https://bugzilla.samba.org/show_bug.cgi?id=2758
Summary: "File exists" error using options -b and --backup-dir
with device files.
Product: rsync
Version: 2.6.4
Platform: All
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo:
2004 May 04
1
Extra warnings now in 2.6.2
When I perform a rsync with backup I get 100's of:
make_bak_dir mkdir "/export/giger.back.....eary/java/weka/gui" failed:
File exists
make_bak_dir mkdir "/export/giger.back....ary/java/weka/gui" failed:
File exists
make_bak_dir mkdir "/export/giger.back...ary/java/weka/gui" failed: File
exists
.
.
.
My backup command is:
rsync -q --backup
2004 Jun 15
1
strange rsync error message from our backup script
Hello,
I use rsync for incrmental backups in the following way:
rsync \
$EXCLUDE \
-e ssh \
--archive \
--numeric-ids \
--compress \
--relative \
--one-file-system \
--cvs-exclude \
--delete \
--delete-excluded \
--bwlimit=0 \
--backup \
--suffix='' \
--backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \
$BACKUP_HOST_AND_PATH
2008 Mar 09
5
--backup-dir-dels=DIR patch
Hi All,
I think I am missing something with the backup-dir-dels.diff patch.
How does that differ from the original --backup -backup-dir=DIR
option? Using the original one works fine (on patched or non-patched
rsync), putting deleted source files into the DIR on destination, but
when I run --backup -backup-dir-dels=DIR, nothing happens to the
deleted files. Rob D