Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] moving files remotely
- Date: Fri, 24 May 2002 22:34:43 -0700
- From: Michael Moyle <michael@example.com>
- Subject: Re: [tlug] moving files remotely
- References: <20020524095523.GA4913@example.com>
- User-agent: Mutt/1.3.28i
Are you using a versioning system like cvs? If not I would recommend it. This will allow you to easily define different versions of the site that you consider stable. And you can easily roll back the whole site, or individual files if something breaks. If you use cvs you can update (through ssh) files to the remote server, and test them. I think it is best to get a version of the site running, and then strip out the CVS directories in case someone, somehow figures out some cvs exploit and updates your production site. I don't know if this is possible. You could probably use rsync to keep your cvs release candidate up-to-date with the production server. Does anyone have experience doing something like this? I have never used rsync before. Automating rsync with cron may not be the best idea if there is a chance the site could be broken by someone making changes. Rsync would update the site even if it had not passed a quality assurance phase. -michael On Fri, May 24, 2002 at 09:55:23AM +0000, Jack Morgan wrote: > I was wondering which is the best way to copy files from one host > to the other. For low volume transfers, e.g. just a few files, scp > seems the best choice. > > How about a situation were you are building a web site, which you > set up locally, then upload once your finished. The web site is large > and you want to update files daily. In this case, would something like > rsync in better? > > Thanks, > > -- > jack_morgan
- References:
- [tlug] moving files remotely
- From: Jack Morgan
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] running X on chrooted environment
- Next by Date: Re: [tlug] Postgresql pg_hba.conf
- Previous by thread: Re: [tlug] named
- Next by thread: [tlug] Postgresql pg_hba.conf
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links