On Fri, 2010-09-03 at 17:05 +0200, Hans Troost wrote:
and indeed - although I specified rsync -vvv (most verbose output) - rsync
silently ignores chmod(2) calls with emphasis on silently:
2010/09/03 16:45:49 [7882] send_files(15,
/home/hans/rsync-files/rsync-test/New Folder)
2010/09/03
I am trying to use rsync to synchronize our pre-release staging site to our
production site.
When I run the following command, it will get the other 19258 files, but it
will ignore the three .htaccess files in our site. I have searched the
internet and can see that it is apparently somewhat
Thanks Matt,
Tested again a bit and indeed: permissions on source and destination are
different:
[h...@localhost rsync-test]$ cd ~/rsync-files/rsync-test/
[h...@localhost rsync-test]$ ls -l
total 24
drwxrwxr-x 2 hans hans 4096 2010-09-02 18:24 2bchanged/
drwxrwxr-x 2 hans hans 4096 2010-09-03
On Fri 03 Sep 2010, Ian Skinner wrote:
When I run the following command, it will get the other 19258 files, but it
will ignore the three .htaccess files in our site. I have searched the
internet and can see that it is apparently somewhat tricky to get rsync to
capture dot hidden files.
Paul Slootman paul+rs...@wurtel.net Friday, September 03, 2010 8:37 AM
Rsync will cheerfully include any and all files in its actions;
it doesn't care whether they start with a dot or not. No need to
--include it.
They are not including them in my first tests? While I have run several
On Fri 03 Sep 2010, Ian Skinner wrote:
They are not including them in my first tests? While I have run several
rsync copies between these two systems, everything is being copied, according
to a post copy comparison, except the three .htaccess files!
Could there be some permission issue
-03/deleted, --suffix-dels=.1806, --backup-
dir=2010-09-03/updated, --suffix=.1806, --log-file=/home/hans/rsync-
files/rsync-log.20100903-1806, --exclude-from=/home/hans/rsync-
files/exclude.txt, /home/hans/rsync-files/rsync-test, /mnt/backup], [/*
76 vars */]) = 0
brk(0
On Fri 03 Sep 2010, Hans Troost wrote:
!!! Even with strace I do not get a chmod call shown. !!!
strace -o /home/hans/strace.log -s 80 rsync -axhhX --no-p --stats --delete
If you're doing --no-p you wonder why it's not setting permissions?
Paul
--
Please use reply-all for most replies to
-dir-
dels=2010-09-03/deleted, --suffix-dels=.1850, --backup-
dir=2010-09-03/updated, --suffix=.1850, --log-file=/home/hans/rsync-
files/rsync-log.20100903-1850, --exclude-from=/home/hans/rsync-
files/exclude.txt, /home/hans/rsync-files/rsync-test, /mnt/backup], [/*
76 vars */]) = 0
brk(0
Paul Slootman paul+rs...@wurtel.net Friday, September 03, 2010 9:15 AM
Perhaps, that's why I asked you to test rsyncing just the .htaccess
files.
I'm sorry, didn't understand the request.
I believe I have now tried to do that. This was the results reported by rsync
as well as that the file
On Fri, 2010-09-03 at 18:18 +0200, Hans Troost wrote:
Took a while to get out that I didn't have strace, installed and learned it
a bit.
!!! Even with strace I do not get a chmod call shown. !!!
strace -o /home/hans/strace.log -s 80 rsync [...]
That is just tracing the first rsync
On Fri 03 Sep 2010, Ian Skinner wrote:
I believe I have now tried to do that. This was the results reported by
rsync as well as that the file still does not exist on the receiving server.
dprweb /usr/local/bin/rsync --verbose --progress --stats --compress
.htaccess appprod::test
I'm
Paul Slootman paul+rs...@wurtel.net Friday, September 03, 2010 10:37 AM
I'm still missing the multiple -v and -i options.
Something like this? If it is not patently obvious, I am very new to rsync.
dprweb /usr/local/bin/rsync -v -v -v -v -i -i -i --progress --stats --compress
.htaccess
On Fri, 2010-09-03 at 10:57 -0700, Ian Skinner wrote:
dprweb /usr/local/bin/rsync -v -v -v -v -i -i -i --progress --stats
--compress .htaccess appprod::test
.f .htaccess
Rsync is claiming that .htaccess is up to date on the destination. How
did you determine that it doesn't exist?
On Fri, 2010-09-03 at 20:49 +0200, Hans Troost wrote:
Indeed, strace -f option helps:
the chmod status unfinished shows up several times now. no real warnings
or errors, but nevertheless: information about what's going wrong.
Unfinished does not indicate that anything is wrong. It just
Thanks Matt,
That clarifies it for me.
Completely happy with all your support: learned a lot, now
made up my mind about my backups and know how to achieve this.
Regards,
Hans Troost
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
16 matches
Mail list logo