Re: Code for off-site Maintenance?
| From: | David T-G | Date: | Wed, 21 Aug 2002 12:44:07 +0000 |
| Subject: | Re: Code for off-site Maintenance? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113436@lists.php.net to get a copy of this message | ||
Andre, et al --
..and then Andre Dubuc said...
%
% Soon, I will be transferring my site to go on-line with my IP. Since I've
% never managed anything off-site, I have a very fundamental question:
%
% What are the usual procedures with respect to maintaining a site, that is,
% accessing the PostgreSQL database for corrections, deletions, etc?
While I'm the type who uses ssh to connect and does work on the server,
not everyone is. I know how I'd take care of the problem, though :-)
Since you're not on the server, I'd either write some management code
as has been suggested (be sure to encrypt your connection, strongly
authenticate who is making the changes, and so on) or just let the
database handle it. I haven't used PostgreSQL but I have to imagine
it will let you connect to a remote server (hey, MySQL will), so just
fire up your DB client on your local machine, connect to the remote DB,
and make your changes; the only security you need is an ssh [forwarding?]
port for the DB (or use a VPN tunnel).
You *definitely* shouldn't have to transfer entire copies of your DB via
ftp; that's just way too painful.
HTH & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) davidtg@justpickone.org * than to live up to them. -- fortune cookie
(work) davidtgwork@justpickone.org
http://www.justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!