[solved] Getting hold of remote hosted database frm old site
Posted: Mon Nov 17, 2014 6:52 pm
New client. Existing CMSMS running 1.9.4.1. Front end and back end working OK.
Need to grab a backup of the site and database and do an upgrade.
I have FTP access. I have downloaded all files, so we're OK there.
But having trouble getting a backup of the database.
Config file shows it connects to a remote server; db_hostname is an IP address (on a different host entirely). Client has no access to this server and has lost contact with the person that owned it/set it up.
Tried to set up phpmyadmin in a sub directory of the website and connect like that, but no joy, looks like the remote server ignores the connection or perhaps the host doesn't allow what phpmyadmin is trying to do - I just get a blank screen.
Set up phpmyadmin on another host to try to connect from there. Again no joy but got "phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection" which is probably the remote server rejecting connection attempts from an IP that is not in its whitelist.
So I'm now thinking install a module to grab the database.
MysqlDump looks promising http://dev.cmsmadesimple.org/projects/mysqldump
Anyone used it successfully on an old site like this?
Or any better ideas to get hold of the database?
Thanks
----------------------------------------------
Cms Version: 1.9.4.1
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.2
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4
CGExtensions: 1.24.4
FormBuilder: 0.7
CGEcommerceBase: 1.2.4
CGSimpleSmarty: 1.4.8
Products: 2.10.3
Cart: 1.7.5
CGPaymentGatewayBase: 1.0.9
PaypalGateway: 2.3.3
FrontEndUsers: 1.12.14
Orders: 1.11.5
Captcha: 0.4.3
Gallery: 1.4.4
FormBrowser: 0.4
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 20000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.3-7+squeeze3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 32M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.35
----------------------------------------------
Need to grab a backup of the site and database and do an upgrade.
I have FTP access. I have downloaded all files, so we're OK there.
But having trouble getting a backup of the database.
Config file shows it connects to a remote server; db_hostname is an IP address (on a different host entirely). Client has no access to this server and has lost contact with the person that owned it/set it up.
Tried to set up phpmyadmin in a sub directory of the website and connect like that, but no joy, looks like the remote server ignores the connection or perhaps the host doesn't allow what phpmyadmin is trying to do - I just get a blank screen.
Set up phpmyadmin on another host to try to connect from there. Again no joy but got "phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection" which is probably the remote server rejecting connection attempts from an IP that is not in its whitelist.
So I'm now thinking install a module to grab the database.
MysqlDump looks promising http://dev.cmsmadesimple.org/projects/mysqldump
Anyone used it successfully on an old site like this?
Or any better ideas to get hold of the database?
Thanks
----------------------------------------------
Cms Version: 1.9.4.1
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.7.6
ModuleManager: 1.4.2
News: 2.11.2
nuSOAP: 1.0.2
Printing: 1.1.2
Search: 1.6.10
ThemeManager: 1.1.4
TinyMCE: 2.8.4
CGExtensions: 1.24.4
FormBuilder: 0.7
CGEcommerceBase: 1.2.4
CGSimpleSmarty: 1.4.8
Products: 2.10.3
Cart: 1.7.5
CGPaymentGatewayBase: 1.0.9
PaypalGateway: 2.3.3
FrontEndUsers: 1.12.14
Orders: 1.11.5
Captcha: 0.4.3
Gallery: 1.4.4
FormBrowser: 0.4
Config Information:
php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 20000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.3-7+squeeze3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 32M
max_execution_time: 30
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 20M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.35
----------------------------------------------