c2oo / xtrabackup-manager

Automatically exported from code.google.com/p/xtrabackup-manager
0 stars 0 forks source link

Make SSH port configurable #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi there,
would be nice if you could add a ssh port option, my server is running on port 
2000 so i had to do some code fixes for me to get it working..

Original issue reported on code.google.com by sascha.a...@gmail.com on 28 Dec 2011 at 8:22

GoogleCodeExporter commented 8 years ago
Hi Sascha,

Thanks for trying out XBM. I'll look at adding an option at the host level for 
SSH port.

Lachlan

Original comment by lachlan....@gmail.com on 30 Dec 2011 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by lachlan....@gmail.com on 5 Jan 2012 at 5:42

GoogleCodeExporter commented 8 years ago
Hi Sascha,

This feature is pretty much complete now.

Please use svn to upgrade to the latest code set --  a new step will also be 
necessary to upgrade your XBM DB.

I have added schema versioning checks and built in upgrader -- this way you 
don't have to throw away your whole DB just because I wanted to add a field to 
a table.

Once you have upgraded the XtraBackup Manager code, just run "xbm upgrade" and 
this should upgrade your database to the latest version.

The behaviour now is that by default when you add a host it will use port 22. 
You can change this with:

xbm host edit <hostname> ssh_port 2000

You can also see the port settings in output of:

xbm host list

Please let me know how you go with this?

Lachlan

Original comment by lachlan....@gmail.com on 6 Jan 2012 at 12:36

GoogleCodeExporter commented 8 years ago
Thank you!

upgrade was successfull but got this error while upgrading:

Notice: Undefined index: timezone in 
/home/xbm/xtrabackup-manager/includes/init.php on line 83
PHP Notice:  date_default_timezone_set(): Timezone ID '' is invalid in 
/home/xbm/xtrabackup-manager/includes/init.php on line 83

Notice: date_default_timezone_set(): Timezone ID '' is invalid in 
/home/xbm/xtrabackup-manager/includes/init.php on line 83

thanks very much :)

Original comment by sascha.a...@gmail.com on 6 Jan 2012 at 7:03

GoogleCodeExporter commented 8 years ago
seems it looks like an error in php.ini but postet it anyways ;o

Original comment by sascha.a...@gmail.com on 6 Jan 2012 at 7:03

GoogleCodeExporter commented 8 years ago
Hi Sascha,

Please make sure you also upgraded your config.php file as there are some extra 
lines in there too.

You may have to get the newest config.php file and then re-merge in your own 
settings/changes.

Original comment by lmulc...@marinsoftware.com on 12 Jan 2012 at 7:17

GoogleCodeExporter commented 8 years ago

Original comment by lachlan....@gmail.com on 12 Jan 2012 at 7:18

GoogleCodeExporter commented 8 years ago
Hi Sascha,

Wanted to check in - how is this feature working for you?

Does it meet your needs? If so, I'll mark this resolved. 

Original comment by lachlan....@gmail.com on 27 Jan 2012 at 9:28

GoogleCodeExporter commented 8 years ago
Hey there,
seems to work nice :).
thanks for it, it lets me configure my ssh server for a non standard port :) 
(for security reasons)!

Original comment by sascha.a...@gmail.com on 27 Jan 2012 at 9:30

GoogleCodeExporter commented 8 years ago
Great - Resolving!

Original comment by lachlan....@gmail.com on 1 Feb 2012 at 6:04