Koozali.org: home of the SME Server

affa and mysql backup

Offline Peterbo

  • 4
  • +0/-0
affa and mysql backup
« on: March 09, 2009, 10:02:36 AM »
HI

Someone who knows why affa is not making a backup of mysql?
has 2 sme 7.4 server running backup, is on the same server
but only one of them backup mysql.

hope someone can give an answer to my problem thanks in advance.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: affa and mysql backup
« Reply #1 on: March 09, 2009, 10:21:32 AM »
Hi Peterbo and welcome

could you please explain your setup and your issue?

Thank you
Ciao
Stefano

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: affa and mysql backup
« Reply #2 on: March 09, 2009, 10:35:05 AM »
Peterbo

Affa uses the standard sme server backup scripts, which include doing a dump of the mysql tables as part of the backup routine. So by default Affa does backup mysql data.

What makes you think the mysql data is not being backed up ?

You do need to explain more fully and provide far more details
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Peterbo

  • 4
  • +0/-0
Re: affa and mysql backup
« Reply #3 on: March 09, 2009, 11:00:48 AM »
hi

When i restore from tdsserver there is no tabel in the db when i look with phpmyadmin and the
homepages is not working.

var/affa/tdsserver/scheduled.0/home/e-smith/db/mysql it is empty, but on the other one
var/affa/atkiserver/scheduled.0/home/e-smith/db/mysql there is a dump for all the db

I am using 2 x Dell PowerEdge R200 Server and, 1 Dell PowerEdge R200 for the backup

i am not to good with sme server only used them for 2 months so are still learning  :eek:



Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: affa and mysql backup
« Reply #4 on: March 09, 2009, 11:10:36 AM »
var/affa/tdsserver/scheduled.0/home/e-smith/db/mysql it is empty, but on the other one

please go to tdsserver console and digit
Code: [Select]
mysql

you should enter mysql's console mode (if so, exit with "quit")

then give
Code: [Select]
signal-event pre-backup

and look in /var/log/messages for any usefull info.

I suspect there's a problem with mysql password

anyway, please open a bug in bugzilla, thank you

ciao
Stefano

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: affa and mysql backup
« Reply #5 on: March 09, 2009, 11:48:21 AM »

Offline Peterbo

  • 4
  • +0/-0
Re: affa and mysql backup
« Reply #6 on: March 09, 2009, 12:55:16 PM »
ok i try that tomorrow when i go to work again

but thanks for the help for now

Offline Peterbo

  • 4
  • +0/-0
Re: affa and mysql backup
« Reply #7 on: March 11, 2009, 09:06:49 AM »
Problem fixed i have a m8 who had change the mysql passwords
so after i reset the password the backup is working.

thanks for the help.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: affa and mysql backup
« Reply #8 on: March 11, 2009, 06:36:26 PM »
Problem fixed i have a m8 who had change the mysql passwords
so after i reset the password the backup is working.
Tell your friend not to do so again as this is not needed on SME Server to access MySQL. Mor information on this is in the MySQL section of the wiki: http://wiki.contribs.org/MySQL .
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)