similar to: exclude an excluded file from being deleted by --delete-excluded

Displaying 20 results from an estimated 10000 matches similar to: "exclude an excluded file from being deleted by --delete-excluded"

2013 May 27
1
Platform variations with --exclude-from
On Linux, an rsync command and exclude_file contents of: # cat exclude_file /etc/alsa # rsync -a --delete --delete-excluded --exclude-from=exclude_file /etc server::module properly excludes /etc/alsa but not any file within /etc's directories that is named alsa. On Windows I don't seem to be able to reliably emulate this: C:\Scripts\Backup\rsyncd>type rsyncd_exclude
2009 Aug 18
2
rsync 3.0.4 under cygwin: problems with --exclude
Hi all, I'm trying to backup a disk using rsync but I need to exclude some folder. I'm using rsync 3.0.4 under cygwin on a winxp machine. The script that I use is: # ---------------------------------------------------------------- # SRCDIR=/cygdrive/d LOGDIR=/cygdrive/f BCKDIR=/cygdrive/f/Backup rsync -auv --progress --delete --delete-excluded --log-file=$LOGDIR/`date +%Y%m%d`.log
2009 Aug 20
2
Include a directory inside an excluded one?
Hello, On my windows xp machine, with cygwin, I run rsync to backup important files on another drive (samba share, mapped on h:). It works fine. I currently use the following command line: rsync -rtv --del --delete-excluded --progress --iconv=ISO-8859-1,UTF-8 --partial \ --exclude "/Videos/" \ --exclude "/Ma musique/" \ /cygdrive/d/Documents/ \
2006 Sep 18
1
daemon excludes all my files
Hello I am new to rsync but I started the cwRsyncServer daemon on an Windows 2003 Server machine with this exclude option: exclude = *.obj Debug *~ *.bak *.orig .svn Thumbs.db Copy?of?* Kopie?van?* .* This option I have placed in the global section so I won't have to repeat it on every module. You can see my rsyncd.conf file attached. The problem is now all my files get excluded Now on
2006 Jun 29
1
Exclude again
Hi, I can't get the exclude in my Rsync statements to work quite right. I have: rsync -avz --delete-after --exclude-from=/cygdrive/d/exclude.job 10.1.1.11::ddrive /cygdrive/d/backup The exclude file contains: - /bin - /endofdaybin I want the directories above to be excluded from the job completely, however, they still seem to be copied. Do I have a problem with either the exclude or
2023 Mar 06
1
prevent filter excluded files from being deleted
I am not 100% sure I am interpreting this correctly but I think you are complaining that the file was being deleted in the first command? If so, instead of -F try --include='*/' --exclude='*'. Otherwise, maybe you want a second -F? On 3/6/23 16:04, Heiko Schlittermann via rsync wrote: > Hello, > > given are 2 directories: > > a > ??? a-file >
2023 Mar 06
2
prevent filter excluded files from being deleted
Hello, given are 2 directories: a ??? a-file ??? .rsync-filter b ??? a-file I'd like to sync a/ -> b/, but I'd like to *exclude* all files. But I do not want to delete the excluded files. (The real scenario is a way more complex, the above is my reproducer.) and the following rsync command: `rsync -F --del a/ b/` Note, there is *no* `--delete-excluded`: $
2002 Apr 14
1
Exclude & --delete not working?
Hi there, we have an odd problem, which maybe how rsync is intended to work, but I think not: On server side, we run rsync in daemon mode with a share [foo] that has a serverside path of /foo. On client side, we invoke rsync -zavuSH --delete server::foo/ /foo. The rsync daemon uses an exclusion list. The problem is, the client rsync deletes clientside whatever is in the exclusionlist. If I read
2006 Mar 07
1
Fwd: Delete some excluded files in rsync
Begin forwarded message: > From: Karel Kulhavy <clock@twibright.com> > Date: 7 March 2006 18:01:43 > To: Martin Pool <mbp@samba.org> > Subject: Delete some excluded files in rsync > > Hello > > I suggest that a feature be added into rsync. That one could > separately > specify excluded files that should be deleted on the receiver and > excluded files
2003 Mar 22
5
CYGWIN Rsync exclude/include problem
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files they way I expect it to. I have mulled over the list postings and man pages regarding this and I am either missing something or ... well I don' know. I have a drive with 12 folders in the root however, I only want to rsync 5 of them (the ones marked with an *) and in those 4 I want to exclude certain
2006 Jul 13
1
RSync --compare-dest
Hi, I have problem with --compare-dest option. I have backup that copies all files on WINDOWS server to another computer each Monday. On rest of weekdays I want to compare files between production data and once backuped on Monday and copy ONLY changed/new files to third location. I use syntax: rsync -av --delete-excluded --exclude-from=/cygdrive/d/bin/backup/excludes.txt
2015 Feb 20
1
[Bug 11111] New: Describe the interaction between --one-file-system and --delete-excluded
https://bugzilla.samba.org/show_bug.cgi?id=11111 Bug ID: 11111 Summary: Describe the interaction between --one-file-system and --delete-excluded Product: rsync Version: 3.1.1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: core
2006 Jun 06
13
DO NOT REPLY [Bug 3825] New: rsync won't delete directory with excluded files
https://bugzilla.samba.org/show_bug.cgi?id=3825 Summary: rsync won't delete directory with excluded files Product: rsync Version: 2.6.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: vanes002@umn.edu
2018 Dec 04
4
Exclude and delete or not delete
Hello I'm looking for a way to exclude and delete some items but not delete other items. Use case: I'm on Windows where there are folders like recycle.bin and system volume information on every drive. I can exclude them while backing up my data drive. But I now also have other data that is excluded and that I want to delete from my existing backup. However if I use --delete-excluded then
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*"
2005 Dec 15
1
Exclude Syntax Question
I have an rsync daemon running on a Windows box. It has a module called "temp" that allows users to write to a specific directory. My rsync.conf looks like: use chroot = false strict modes = false max connections = 3 hosts allow = 192.168.1.7 lock file = rsyncd.lock log file = rsyncd.log pid file = rsyncd.pid timeout = 600 refuse options = h I c a delete [temp] comment = WSS
2004 May 11
2
possible bug with exclude/exclude-from
Hi While trying to back up my homedir, i found what looks like a bug: from /home, i do: rsync -CWavP --delete --delete-excluded \ --exclude=".phoenix/default/*/Cache/" \ --exclude-from=rsync-excludes \ myusername/ targetserver:/backup/myusername/ rsync-excludes contains (without [] lines): [start] #comment **.xvpics** *.swp [end] This works
2006 Mar 03
1
changing bwlimit at runtime.
I am using rsync in a situation where the amount of bwlimit I want to use changes depending on the time of day. for example, I start rsync at 2am when no-one else is using the system, so I want it to use 100k/sec. At 9am, it is still running, but as the bandwidth of the link it's using now needs to be shared with other users, I would like rsync to only use 10k/sec. Any way of doing this
2006 Nov 28
0
Question about deleting a file from the server via Rsync
On 11/27/06, Ben Anderson <ben@capecomputing.com> wrote: > I'm using cwrsync (with rsync 2.6.9) via ssh Careful: when we say "rsync via ssh", we usually mean that the client rsync invokes a second instance of rsync on the server as the ssh remote command. Your setup counts as talking directly to an rsync daemon; rsync doesn't care that the connection goes through ssh
2003 Aug 07
2
--delete-excluded by default?
rsync is deleting all the files that match my exclude strings, but I don't want this to happen and I am not using the --delete-excluded option. Is this a known problem/feature? The files it is deleting DO still exist on the sending server. Here is the command I'm using: rsync -avzul --delete blue1-eth1::mod1 /home/.sites and it is version 2.5.5-C1 Thanks, -e.l.