Sunday, November 6, 2011

Backing up MySQL in B3 Server to rsync.net


In a previous post I talked about how to backup to rsync.net using duplicity.

I will now show how to backup your B3 Server Mysql databases using the same method.


Installation

Be sure duplicity is installed:
$ su
# apt-get install duplicity

Generate an ssh key to connect to rsync.net
  • Generate the ssh key using the defaults (don't use a password when asked):
# ssh-keygen -t rsa
  • Copy your key to rsync.net (if you don't have no one there):
# scp ~/.ssh/id_rsa.pub user@server.rsync.net:.ssh/authorized_keys
  • If you already have a key from another machine or user in rsyn.net, you need to add a new one:
# cat ~/.ssh/id_rsa.pub | ssh user@server.rsync.net 'dd of=.ssh/authorized_keys oflag=append conv=notrunc'

Saturday, November 5, 2011

B3 Server 2.3.1 Update


Minor update released last week.

Upgrading to 2.3.1

  • Become root
$ su
  • Do an upgrade
# apt-get update
# apt-get upgrade
  • Upgrade b3 backend
# apt-get install bubba-backend

You can confirm the software version going into b3 web administration page, then Settings and Software update.


Official Excito forum notes

A major part of this update is a new software update service. When updating the update service, strange things can happen, so:
* If the update doesn't go all the way but hangs just before it should be finished (99 or 100%) this is normal. This is in the transition to the new updater logic. Just wait a few minutes and then reload the page.
* After the update - restart your B3.
* The updater might look like it hangs, it doesn't'! Please don't reload the page, be patient, it starts again.