Re: Unwanted deletion of remote files
Joe Orton <[email protected]> Mon, 27 Jun 2005 13:59:35 +0100
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
Hiya, On Thu, Jun 23, 2005 at 09:44:01PM +0100, Chris Wilson wrote: > I think I have found another problem with sitecopy. There are certain > remote files that I would like sitecopy not to modify in any way (e.g. > website access logs). If possible, I would like sitecopy to download them > but not upload them, but I can't find any documented way to achieve that. > > Worse, I cannot make Sitecopy not delete them from the remote site. I have > already lost all my access logs, due to my own complacency in running > sitecopy -u. I don't understand exactly what you are doing at the moment. Are you using sitecopy --fetch and --synch to download the access logs? If so, why? Why not just use a separate tool to download the logs somewhere completely different? If you avoid doing a --fetch on the site, then sitecopy won't ever know the logs exist, so it won't ever try to delete them. No, sitecopy doesn't support any mode where files can be deleted locally but not removed remotely. Adding more such options would just be more confusing. > I don't want it to touch the archive directory, nor site/logs, but I can't > make it not delete all those files. My configuration is: The fact that the "logs" directory in your site is picked up by a --fetch despite the "exclude /logs" configuration is a bug which will be fixed at some point, if that helps. joe _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy