search for: make_bak_dir

Displaying 19 results from an estimated 19 matches for "make_bak_dir".

2010 Mar 08
1
Getting EEXIST out of make_bak_dir()
...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 for a handful of them: rsync: make_bak_dir mkdir "/Volumes/Backup/_Archive_2010_March_07_22-27-43/Users/jsmith/Library/Mail/Mailboxes/ Orchestra" failed: File exists rsync: keep_backup failed: "/Volumes/Backup/Users/jsmith/Library/Mail/Mailboxes/ Or...
2002 Dec 09
1
when using --backup-dir: why not make_bak_dir() . . .
here (in keep_backup())? --- backup.c.orig Mon Dec 9 17:02:36 2002 +++ backup.c Mon Dec 9 17:03:50 2002 @@ -273,6 +273,7 @@ /* move to keep tree if a file */ if(!kept) { + make_bak_dir(fname,backup_dir); if (!robust_move (fname, keep_name)) rprintf(FERROR, "keep_backup failed %s -> %s : %s\n", fname, keep_name, strerror(errno)); this reconstructs parent directory permissions more in keeping with my (humble) expectations, in addition to being consistent with...
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 servers, typically backing u...
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) rsync: stat "/backup/server/../server-before-5/var/...
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" -> "/REPO/backup/XXXX-data1-20120727-040453/data1/A182/tb5178/tb5178.hebb/out.TENT_warn.txt&...
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
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...
2004 Jun 15
1
strange rsync error message from our backup script
...ete-excluded \ --bwlimit=0 \ --backup \ --suffix='' \ --backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \ $BACKUP_HOST_AND_PATH ${DESTINATION}$BACKUP_ROOT/$BACKUP_HOST/current It used to work fine but since I've upgraded to 2.6.2 from 2.5.x I get the following error messages: make_bak_dir mkdir "/backup/naxos.premier-lnc.com/2004-06-09/home/ddegrolard/profile/Local Settings/Application Data" failed: File exists make_bak_dir mkdir "/backup/naxos.premier-lnc.com/2004-06-09/home/ddegrolard/profile/Local Settings" failed: File exists make_bak_dir mkdir "/backup/...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...be in previous emails, namely that preserving atime causes ctime to not be preserved. *** Patch follows *** *** backup.c@@/main/original/1 Tue Apr 9 14:02:14 2002 --- backup.c Tue Apr 9 15:21:56 2002 *************** *** 110,116 **** rprintf(FERROR,"make_bak_dir stat %s : %s\n",fullpath,strerror(errno)); } else { st2=&st; ! set_modtime(fullpath,st2->st_mtime); if(do_lchown(fullpath,st2->st_uid,st2->st_gid)!=0) { rprintf(FERROR,"make_bak_dir chown %s : %s\...
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
...if (verbose > 2) { rprintf(FERROR, "robust_move failed: %s(%d)\n", strerror(errno), errno); } switch (errno) { - case EXDEV: /* external filesystem */ - keep_path_extfs = 1; - keep_trying--; - break; case ENOENT: /* no directory to write to */ if (make_bak_dir(dst) < 0) keep_trying = 0;
2004 Sep 23
1
rsync script from homepage: trouble
...h 7 day incremental" script from http://samba.anu.edu.au/rsync/examples.html to suit my situation. I have ended up with the script attached below and when running it from command line I get these errors: rsync error: syntax or usage error (code 1) at main.c(726) and a plethora of this > make_bak_dir mkdir "/home/Wednesday" failed: Permission denied > stat "/home/Wednesday/home/USER/N14_N15/013_072604/SGD_N14/chro" > failed: No such file or directory Can somebody please have a look on what I did and point me the right way? As I said: I'm new to rsync and have litt...
2010 Sep 23
2
rename(2) errno processing
...nent is not in the new pathname. According to the Open Group website this is a valid errno value. The code in robust_move() only checked for ENOENT. When I added checking for ENOTDIR, the backup test passes. I suggest changing lines 192 and 264 of backup.c from if (errno == ENOENT && make_bak_dir(dst) == 0) { to if ((errno == ENOENT || errno == ENOTDIR) && make_bak_dir(dst) == 0) { to conform to the POSIX specification of rename(2) error returns. Thank you Jeff Fellin AT&T Labs 180 Park Ave Florham Park, NJ
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
2007 Apr 03
0
Modifications to NOT recursively make_backup
...5:32 2007 *************** static int keep_backup(char *fname) *** 204,222 **** } if (!kept && S_ISDIR(file->mode)) { ! /* make an empty directory */ ! if (do_mkdir(buf, file->mode) < 0 ! && (errno != ENOENT || make_bak_dir(buf) < 0 ! || do_mkdir(buf, file->mode) < 0)) { ! rsyserr(FINFO, errno, "mkdir %s failed", ! full_fname(buf)); } - ret_code = do_rmdir(fname); - if (verbose > 2...
2005 May 31
0
[Bug 2758] New: "File exists" error using options -b and --backup-dir with device files.
...rsyserr(FERROR, errno, "unlink %s failed", + full_fname(buf)); + } if (do_mknod(buf, file->mode, file->u.rdev) < 0 && (errno != ENOENT || make_bak_dir(buf) < 0 || do_mknod(buf, file->mode, file->u.rdev) < 0)) { -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
2003 Sep 05
1
new option suggestion '--backup-only'
...strerror (errno), errno); + errno = saveerrno; switch (errno) { /* external filesystem */ case EXDEV: @@ -225,7 +231,8 @@ } } kept = 1; - do_unlink(fname); + if (!backup_only) + do_unlink(fname); } #endif @@ -233,11 +240,11 @@ /* make an empty directory */ make_bak_dir(fname, backup_dir); do_mkdir(keep_name, file->mode); - ret_code = do_rmdir(fname); - if(verbose>2) { - rprintf(FINFO, "make_backup : RMDIR %s returns %i\n", - fname, ret_code); + if (!backup_only) { + ret_code=do_rmdir(fname); + if(verbose>2) + rprintf(FINF...
2004 Apr 10
0
patches for copying atimes
...------- Index: backup.c =================================================================== RCS file: /cvsroot/rsync/backup.c,v retrieving revision 1.28 diff -u -w -r1.28 backup.c --- backup.c 13 Mar 2004 20:18:03 -0000 1.28 +++ backup.c 10 Apr 2004 23:28:35 -0000 @@ -101,7 +101,7 @@ "make_bak_dir stat %s failed: %s\n", full_fname(rel), strerror(errno)); } else { - set_modtime(fullpath, st.st_mtime); + set_times(fullpath, st.st_mtime, time(NULL)); do_lchown(fullpath, st.st_uid, st.st_gid); do_chmod(fullpath, st.st_mode); } Index: batch.c ================...
2004 Apr 20
1
improved atime patch
...------- Index: backup.c =================================================================== RCS file: /cvsroot/rsync/backup.c,v retrieving revision 1.28 diff -u -w -r1.28 backup.c --- backup.c 13 Mar 2004 20:18:03 -0000 1.28 +++ backup.c 20 Apr 2004 21:06:17 -0000 @@ -101,7 +101,7 @@ "make_bak_dir stat %s failed: %s\n", full_fname(rel), strerror(errno)); } else { - set_modtime(fullpath, st.st_mtime); + set_times(fullpath, st.st_mtime, time(NULL)); do_lchown(fullpath, st.st_uid, st.st_gid); do_chmod(fullpath, st.st_mode); } Index: batch.c ================...
2007 Sep 22
0
rsync build on IA64 using icc
...: operands are evaluated in unspecified order rsyserr(FERROR, errno, ^ backup.c(144): remark #981: operands are evaluated in unspecified order full_fname(fullpath)); ^ backup.c(143): remark #981: operands are evaluated in unspecified order rsyserr(FERROR, errno, "make_bak_dir mkdir %s failed", ^ backup.c(197): remark #981: operands are evaluated in unspecified order full_fname(buf)); ^ backup.c(196): remark #981: operands are evaluated in unspecified order rsyserr(FERROR, errno, "mknod %s failed", ^ backup.c(212): remark #981...