howto - backup and ftp

[10:37:35] XXX:: Hello again, just wanted you to know that I changed the
[3/17/2009 4:34:25 AM] bvidinli: $dirname="/var/backup/$filename/";

<<< and it worked perfectly. I am not a CLI fan and chose to install SAMBA on my server and backed up my files to it then edit them in the comfort of my Ubuntu or Vista Desktop Computer. VERY VERY NICE (clap)
[10:37:47] bvidinli: .
[10:37:48] … 1m
[10:37:54] XXX:: np
[10:38:26] bvidinli: then you solved your case ?
[10:38:28] … nice
[10:38:38] … let me know if i can help more.
[10:39:01] … i integrated changable backupdir in new version of ehcp
[10:39:08] … released yesterday
[10:41:22] XXX:: My next thought is to set the backup location to my FTP user so I can download from and upload them back to that location so I can edit them easily from the comfort of my desktop across the internet when this box is eventually put in it's secure bunker
[10:42:21] … ooooo time to upgrade
[10:43:52] … this will be my first upgrade is it easy to do without losing previous databases, vhosts and the like
[10:44:05] bvidinli: 1m
[10:44:11] XXX:: n
[10:44:12] … p
[10:53:58] … This may be a very obvious question but I want to know if I missed something. If someone types in my IP address they will come to my EHCP page with all the links and a place to login to the EHCP control panel. I know where to go on the server to reach and edit those pages but is there a way to create a domain name in the Control panel that will allow me access to edit these files from within the FTP connections?
[10:55:51] … answer if and when you have time, I have no rush
[11:30:56] bvidinli: to upgrade, in simple way,
[11:30:59] … download new package,
[11:31:06] … only overwrite classapp.php file
[11:31:08] … onto your file
[11:31:13] … most is done there
[11:31:23] … to cahnge ghose files in http://yourip
[11:31:34] … go to /var/www/
[11:31:36] … on your server
[11:31:43] … and change index.html and anything youwant
[11:31:56] … and ehcp files in /var/www/vhosts/ehcp
[11:32:04] … you should not use those files through ftp
[11:32:11] … since, that may be a security issue
[11:32:44] … anyway, if you want, you may do in phpmyadmin->ehcp db->ftpaccounts table, insert new row, fill like similar rows
[11:33:20] … and giv permission of vsftpd to any dir/file you want to access by ftp, give perm from console
[11:33:56] … there is no way to give access ftp to /var/www folder through ehcp gui, only phpmyadmin->ehcp->ftpaccounts table
[11:36:06] XXX:: I understand security issue so I will pass on the phpmyadmin->ehcp db->ftpaccounts table, insert new row, fill like similar rows and giv permission of vsftpd to any dir/file you want to access by ftp, give perm from console option.

XXX: but I should be able to create a backup folder within a current FTP user, back up EHCP files to the newly formed folder, download them via FTP, alter files as I see fit, Upload them back to folder of the FTP user, and then restore the newly altered files.
[11:41:28] … would this work?
[11:44:52] bvidinli: yes, this works, but , this is not a recomended way
[11:45:07] … 1m
[11:45:16] XXX: np
[11:48:11] bvidinli: to do that: setup an ftp as i described just before,
[11:48:20] … download, edit html/php files,
[11:48:24] … upload them back,
[11:48:54] … setup an ftp account with home in /var/www
[11:49:08] … you may edit html/php
[11:49:18] … but i do not suggest you to edit mysql flat files...

Forums: