For some reason, Rsync did not copy two specific file. Then I tried to
specifically tell it to synchronize one of them and I get this result. *I*
don't see any reason why to chose not to copy this file, but maybe on of you
out there would see the obvious reason I am missing.
dprweb
at 10:33 AM, in message
4ccaa2e3.2858.00a...@cdpr.ca.gov, Ian Skinner iskin...@cdpr.ca.gov wrote:
For some reason, Rsync did not copy two specific file. Then I tried to
specifically tell it to synchronize one of them and I get this result. *I*
don't see any reason why to chose not to copy
On Friday, October 01, 2010 at 7:54 AM, in message
+ /das
+ /em
+ /enf
+ /internal
+ /itb
+ /medtox
+ /pml
+ /psb
+ /reg
+ /whs
- /*
+ /*/htdocs
- /*/*
+ /*/htdocs/docs
- /*/htdocs/*
Thanks Wayne, this worked well and seems simpler and lazier then my original
version.
--
Here is my rsync command as it currently stands.
/usr/local/bin/rsync -vvv --stats -Pzrtpl --delete
--password-file=/export/home/webuser/.appprod
--log-file=/export/home/webuser/logs/rsync-log -F /export/home/
webu...@appprod::dprweb_extranet/ rsync-test
Here is the current .rsync-filter
Steven Levine stev...@earthlink.net Thursday, September 30, 2010 11:14 AM
I'm not sure I entirely understand what you want, but what about
+ das/**/htdocs/docs*
+ em/**/htdocs/docs*
etc.
or possibly
+ das/**htdocs/docs*
+ em/**/htdocs/docs*
etc.
I'm not sure what the difference
Steven Levine stev...@earthlink.net Thursday, September 30, 2010 3:22 PM
It's close, but you need to augment is a bit. Try
+ das/htdocs/docs/*
+ em/htdocs/docs/*
etc.
+ */
- *
Thanks for the suggestion, but that did not seem to produce the desired
results. I did not look into why in
I am trying to mirror only select directories from one server to another with
rsync through its daemon mode.
Server A
/export
/home
/A-do
/A-not
/A-copy
/das
/htdocs
/docs
/em
/htdocs
/docs
/psb
/htdocs
Yes, I just noticed that myself a left over artifact from the source I used
as my base example.
I'm still struggling to get just the directory(ies) that I want...
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options:
Thanks!
This seems to have been the problem. After finding the information cron was
spitting out to the unix mail, it was apparent that the splats (*) used to
short cut the paths so the command would fit into the max length of the command
line where giving problems when run by cron. Don't
We have this Rsync command that does what is desired when ran either directly
OR with a shell script.
/usr/local/bin/rsync -vvv -P --stats -zrtpl --delete
--password-file=/export/home/webuser/.appprod -
-log-file=/exp*/h*/web*/logs/rsync-log --exclude *.htacc*
/exp*/h*/xter*/htdocs/
Any advice for an all around newbie.
I have a rsync command that works just fine whenever I have executed it
directly from the command line.
/usr/local/bin/rsync -v -v -v -P --stats -z -r -t -p -l --delete
--password-file=/export/home/webuser/.appprod --exclude *.htaccess
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
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
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
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
15 matches
Mail list logo