Displaying 20 results from an estimated 10000 matches similar to: "Make rsync exclude subversion working directories"
2005 Dec 06
1
SRC=/, include a few directories and exclude everything else
Hi,
I am currently backing up a few Linux boxes, and a Windows XP box, using
rsync (through a cron job).
Regarding the Windows box ( Windows XP (running Cygwin) <--> Debian
Testing), so far I specify a few directories as sources in the rsync
command line. I then use an excludes file to include certain directories
and exclude others.
I was wondering, can I just specify / as the source and
2006 Apr 15
2
include and exclude file
hi
i try to include and exclude file when i do a rsync
#!/bin/sh
# directory to backup
BDIR=/home/collinm/test/home
# includes file - this contains a wildcard pattern per line of files to
exclude
INCLUDE=include.txt
# excludes file - this contains a wildcard pattern per line of files to
exclude
EXCLUDE=exclude.txt
OPTS="-a -r -v -p -t --delete-before --exclude-from=$EXCLUDE
2005 Nov 11
2
Rsync, subversion and directories
Hi all,
I'm attempting to build a backup system using rsync and subversion.
I have a samba share which I would like to replicate via rsync. The
replicated copy is under subversion control to store a 'history'.
This appears to work well until a directory is removed on the primary
(non-backup) file system.
The rsync command which I assumed would do the job:
$ rsyc -zrv
2006 Mar 22
1
exclude open file in backup with rsync
hi,
I am working on Backup appliction.
So I am understanding rsync_2.6.6.
I have to take a backup of files on a drive But
I have to exclude those file in a drive which are open.
I want to know whether rsync exclude open files
while taking backup ? .
and how rsync identify a file open or not.
what test on a file rsync does.
sunil
SPSOFT
2006 Mar 02
1
Rsync 2.6.7pre3 released
I've just released rsync 2.6.7pre3 -- the third, and (hopefully) final
pre-release version of the 2.6.7 release. Please test this out and
email the rsync mailing list with any questions, comments, bug reports,
etc. Thanks!
You can download the tar file and its signature from here:
http://rsync.samba.org/ftp/rsync/rsync-2.6.7pre3.tar.gz
2006 Mar 02
1
Rsync 2.6.7pre3 released
I've just released rsync 2.6.7pre3 -- the third, and (hopefully) final
pre-release version of the 2.6.7 release. Please test this out and
email the rsync mailing list with any questions, comments, bug reports,
etc. Thanks!
You can download the tar file and its signature from here:
http://rsync.samba.org/ftp/rsync/rsync-2.6.7pre3.tar.gz
2006 Mar 31
1
logging problem
Yep I tried those two options, and nothing...
Even if the pre-user conf files have a log file in the same directory,
which I touch before trying, messages keep going to syslog... I tried
with 666 permissions on rsyncd.log too just to make sure...
The following is one of the user's conf file, hope theres a clue. Thanks!
log file = /home/pluto/rsyncd.log <<< This is the problem!!
2006 Feb 25
1
Why this doesn't work??
Hi.
I can't get to work the excludes in this command:
rsync -n -a -v --delete --timeout 120 --exclude '/sys/' --exclude
'/tmp/' --exclude '/stuff/' --exclude '/mnt/' --exclude '/proc/'
--exclude '/var/tmp/' --exclude '/usr/portage/distfiles/' --exclude
'/home/msurdi/.thumbnails/' gaia:/ /usr/backups/gaia.0/
The excluded
2006 Apr 13
2
rsync permission problem when chmod 000
hello
I'm having 2 problems with rsync... one is consequence of the other
1) I'm running an rsyncd one a server... then I run rync (client) as
root on another server
even being root, it doesn't read files/dirs with chmod 000 for example
and gives error on them
2) when these error happens, it happens "IO error encountered" and it
skip the "--delete" (I tried
2006 Feb 22
5
Rsync help needed...
Hello,
I was reading your posts about RSYNC. We have a massive Oracle schema lots
of datafiles about 750 GB size. We do rsync datafiles from source to target
server but everytime we cleanup the datafiles on the target server and do
rsync every 2 weeks. On the target side mostly the datafiles will be same
but on source we might have added few datafiles or made some changes in data
and as such the
2006 Feb 24
1
How to use multiple link-dest directories?
Hi guys,
I hope this is not considered a stupid question, but it really seems
to be something that needs to be covered with a decent example in the
man page. I have looked in every piece of documentation I can think
of and have found no answer.
So I want to use the multiple link-dest directories feature as of
2.6.4. (I am using 2.6.6)
My understanding of how this should work is that I can
2006 Apr 04
2
how to tell what files changed?
I'm new to using rsync, so far it is working well. But I want to
know what files rsync decided to transfer. Using the -v option lists
every sub-folder of my directory and lots of files.
Is there any way to get rsync to report only on the changes it made
to the destination directory?
I'd like to know:
what files /directories were copied across
what files/ directories were deleted
2006 Feb 16
1
a few basic questions
Hi folks. Running rsync on Slackware. I'm going over the man pages yet
some aspects remain murky. Hopefully someone can set me straight.
1. The --rsh option,
The man page explains that you can invoke a single-transfer daemon if you
want some features that a daemon provides:
$ rsync -av --rsh=ssh host::module /dest
The it says that you need to slap on an ssh user if the daemon/module
2006 Feb 17
3
rsync files with certain mtime
Hello List,
How would i rsync all files which are older than X-Days? I am missing
some kind of -mtime option. Since this is quite common for backups i am
wondering how you are doing this kind of stuff.
Thanks, Mario
2006 Feb 23
1
preventing rsync transfers
I sync some client stations to a central server at the discretion of the
users. They run a single-transfer daemon by logging in via their ssh
accounts. All is well.
Now I also allow a certain user to rsync this accumulated client data
(which end up as subdirectories of a single directory on the server) to an
external hard drive. This user connects via ssh and runs a remote shell
script on the
2006 Feb 24
1
--min/max-size affects only transfer, not --delete, why?
Logically, deleting the dst file which does not exist on src amounts
to "transferring the non-existence" of that file from src to dst.
Therefore, if files larger or smaller than some size are ignored in
transfer, they must just as well be ignored in deleting (much as
--exclude'd files are also excluded from delete, unless you specify
--delete-excluded). So I think the behavior should
2006 Apr 02
1
strange behavior after moving target directory
i have a sync that i do daily on my home directory
home directory -> external drive A
i recently got a bigger external drive (B) and move my backup file tree from
drive A to drive B. i gave the new drive the same name as the old drive, so
all of the file paths will look the same to the backup script.
My daily sync usually takes 3 minutes. After moving the backup tree, the
first sync took 20
2006 Apr 03
2
rsyncd.secrets
hi all
I have composed a script containing :
rsync -avz -e ssh root@10.78.0.107:/var/mail/ /var/mail
--password-file=/etc/rsyncd.secrets
but when I try to execute il it ask me for the password.
how to do to avoid this and to consider the password in the
'rsyncd.secrets'
thanks in advance.
2006 Apr 02
3
rsync and BSD file flags
> On Mon, Mar 20, 2006 at 04:51:56PM -0500, Jonathan Call wrote:
> > It refers to a --flags patch that I don't see available anywhere:
> I used the link to the patch in the email you cited to find it. It's
> quite old though, and I saw one bug (namely that the SAME_FLAG value was
> too big to actually be transmitted as a flag bit). I did a quick update
> of the patch
2006 Feb 19
2
Rsync 2.6.7pre2 released
I've just released rsync 2.6.7pre2 -- the second pre-release version of
the imminent 2.6.7 release. Please test this out and email the rsync
mailing list with any questions, comments, bug reports, etc. Thanks!
You can download the tar file and its signature from here:
http://rsync.samba.org/ftp/rsync/rsync-2.6.7pre2.tar.gz
http://rsync.samba.org/ftp/rsync/rsync-2.6.7pre2.tar.gz.asc