similar to: excluding patterns from the --delete option?

Displaying 20 results from an estimated 20000 matches similar to: "excluding patterns from the --delete option?"

2002 Dec 10
2
include-exclude patterns
Hi, I just subscribe to ask you a question about patterns in exclude-include files. I just want some folders to be rsynced to a remote machine. What I tried is : IncludeFile ------------------------- /etc/ /var/lib/zope/ - /* ----------------------- result of $$ rsync -avvrn --delete --delete-excluded --include-from=/backup-include -e ssh / /backup is expand file_list to 4000 bytes, did move
2002 Nov 13
2
--delete-excluded not working on local rsync
I am using the following command and the excluded directory /usr/share/doc/ still appears with all it's contents in the backup directory when it's contents should be deleted. Is this a bug or am I doing something wrong? rsync --delete --delete-excluded -a -R --exclude="/proc/*" --exclude="/dev/*" --exclude="/usr/share/doc/*" --exclude="/backup*"
2003 May 06
2
Recursive ssh
Hi all, I want to copy files from a remote server to a local directory with ssh. I've some difficulties with that because on the Remoteserver I have a directory "/www/ftp" with a lot of subdirectories with each of them 4 other subdirectories. I want to sync only */data/* to the local machine without */images/* or */doc/* or */movies/* Any solution would be appreciated. regardsMac
2003 Mar 07
3
Questions about exclude-file
Is there anyway to keep rsync from reporting an error when attempting to sync pagefile.sys (through a samba share)? It seems like any type of exclusion of the file gets ignored, why is that? Anyway around it? Also, of experimented with the exclude-from syntax quite a bit and haven't figure out how you could just backup all .doc files on a file system and exclude everything else. Thanks - Max
2003 Aug 03
3
Include-from ?
Hello - I just finished doing a search of the archives and couldn't seem to get this answered. Example, I have a root directory containing the following directories: /Test1 /Test2 /Test3 I want to rsync only /Test2 and all subdirs under. So my include-from file looks like: + Test2/* - /* This doesn't work as nothing is synced, and if I do a -vv it tells me that nothing is being
2002 Sep 09
4
Hardware - no way -Re: Crashes maybe due to: "error writing 4 unbuffered bytes"
Dear JW, I spent hours checking and upgrading my hardware. There is nothing wrong with it. It is a 'mature' Pentium-II 400MHz system that has been running my servers WITHOUT ANY CRASHES for nearly 2 years now 24/7 Listen to me: "The crashes are dues to rsync" There is an IDENTICAL report from a totally different source at
2002 Nov 04
4
making --exclude-from=- read from stdin
--- exclude.c.org 2002-11-04 04:17:05.000000000 +0100 +++ exclude.c 2002-11-04 04:21:13.000000000 +0100 @@ -219,8 +219,15 @@ int fatal, int include) { struct exclude_struct **list=list1; - FILE *f = fopen(fname,"r"); + FILE *f; char line[MAXPATHLEN]; + + if( fname[0]=='-' &&
2003 Jun 04
1
[patch] exclude patterns documentation
I just reviewed the EXCLUDE PATTERNS section of the manpage and found that the declarative portion never actually states that only the part of the path that is relative destination is compared. I'm not quite satisfied with my text on this so if anyone has a better way of stating it i'm open to suggestions. Index: rsync.yo
2002 Nov 20
2
Syntax for using rsync options --exclude and --delete!
Hello All, I was wondering if anyone has a viable syntax solution for using rsync with the --exclude and --delete option. I have been using the rsync process to backup certain files and filesystems for ease of recovery in the event of unexpected downtime on the primary. I recently noticed that the process is not deleting files on the destination host that were removed from the source at some
2004 Jan 19
3
Improving name-truncation detection
I've got a patch that changes f_name_to() to return an unsigned int (like snprintf() and strlcpy() do) and adds checking to ensure that we didn't overflow the name before we try to use it: http://www.blorf.net/name-overflow.patch If anyone would care to check out the following patch before I commit it, please do. ..wayne..
2003 Oct 03
5
Backing up laptops on network
Hi all, We are currently looking at a solution for backing up files on laptops to a server in a small office (10 users). I was looking at rsync as a solution. Here is my suggested solution: Install rsync on network server - this is Windows 2000 :-( Share the root of C:\ on laptops Schedule rsync to periodically mount to laptops share ove SMB (if they can be found) and running an incremental
2003 Oct 06
2
Patch to revive tmpfiles
This is a patch to fix one annoyance of having rsync processes race: I usually keep our servers synced with the following script, run by cron. #!/bin/sh lockfile -r 2 -l 1000 /tmp/synchome.lock || exit 1 rsync -e ssh -avHP --delete zorro01:/home/\* /home >/dev/null rm -f /tmp/synchome.lock -- Sometimes my users (including myself) are in a hurry and syncronise files and directories in their
2004 Feb 24
2
Deleted files
Thought my troubles were fixed, but files disappeared again and reappeared after a few dozen rsync cycles. I am mapping a Win2K directory to Linux with Samba. That mounted directory is then Rsynced to another Linux box on a schedule (Linux to Linux, because I can't run rsync on the windows machine). For some unknown reason, several thousand files are periodically (after several days) deleted
2002 Aug 02
1
[patch] exclude-from stdin
This patch causes --exclude-from and --include-from to read from STDIN when given - for a filename. This was formerly incorporated in my --link-dest patch. Patch against current cvs. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt -------------- next part
2003 Mar 18
2
rsync over nfs
> Hello, > I have rsync process which is a crontab job: > 0 0-23 * * * /bin/rsync -rvg /net/server1/local/filesys1/userhomedir/project_dir /local/filesys1/userhomedir/project_dir > which sync the user project dir on localsystem from another machine called server1 via nfs, but the weird thing its coping all files every time it syncs am I using the wrong flags? is it possible to copy
2002 Sep 13
4
logging on client side on NT
Hi, I would like to log whatever happens with rsync on client side when it runs with Cygwin on NT4. First, I just did a redirect of the screen output to a log-file: rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/ bee2bs01::d/test/ >>c:\rsync\log\%FDATE%.log The problem with this method is that it does not redirect whatever Rsync reports as errors; because they
2003 Mar 16
2
> 2GB files on solaris with largefiles enabled!
Hello, I'm facing a problem syncing files which is over 2GB size, eventhough i searched the archives and it been mentioned its possible if largefiles option is enabled, but still its giving me problems. i.e: building file list ... readlink dir1/oracle_data1.tar: Value too large for defined data type readlink dir1/oracle_data2.tar: Value too large for defined data type readlink
2003 Oct 12
7
rsync.h always including syslog.h even when not used.
Hello, rsync.h is always including the syslog.h file, even though it is only used when the LOG_DAEMON macro is defined. Could someone change it to be as follows: #ifdef LOG_DAEMON #include <syslog.h> #endif OpenVMS currently does not have a syslog facility, so it does not have a syslog.h. Thank you, -John wb8tyw@qsl.net Personal Opinion Only
2003 Aug 21
2
rsync on aix fails on large files bigger than 2gb
I am using AIX 4.3.3 and 5.1, rsync version 2.5.5 protocol version 26 when rsyncing files that are larger than 2gb it dies. You get message about broken something. root limits is -1 filesystems are large file enabled. I tested this with linux to linux and it does not have this problem. any reason why it does not work in AIX? __________________________________ Do you Yahoo!? Yahoo!
2003 Jan 23
3
Error message
Hello when i get this message what is wrong: /PTS.0.db2inst1.NODE0000.CATN0000.20030123062324.001: Value too large to be stored in data type Regards Boris -------------- next part -------------- HTML attachment scrubbed and removed