Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-17 21:56:22

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Alternative backup technique for 4.0.7

I’ve just posted in the plugin support section

And got myself wondering… Has anyone ever documented a technique for backing up and (significantly) reinstalling a Textpattern installation using PHPMyAdmin or equivalent?

I’ve been happily using a modified version of rss_admin_db_manager with 4.0.6 and have recently built a new, different site using 4.0.7… and can’t seem to get anything nice when I follow the usual procedure with rss_admin_db_manager on a different host… In fact it’s screwed up things so badly that I’ve had to drop all of my tables and start again.

Anyone any pointers, please?

Thanks.

Offline

#2 2008-12-17 22:00:54

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Alternative backup technique for 4.0.7

You could take a look at this TXP Tip. Might be helpful.

Offline

#3 2008-12-17 22:08:47

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: Alternative backup technique for 4.0.7

I did use that plugin, too, but later settled for the automysqlbackup solution described here

In addition to that, I set up a scheduled ftp mirroring to a local computer – runs smoothly.

Offline

#4 2008-12-17 23:45:33

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Alternative backup technique for 4.0.7

So near , yet so far… Thank you for the TXP Tip

Using PHPMyAdmin:

  • I’ve created a backup of my site (from Textdrive) DONE
  • I’ve imported the backup to the new home (1and1) DONE

It’s all there except… I can’t login to Textpattern as me anymore!?

Anything I might’ve missed in the recipe somewhere?

Many thanks,

Gavnosis

Offline

#5 2008-12-18 01:27:16

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Alternative backup technique for 4.0.7

gavnosis wrote:

It’s all there except… I can’t login to Textpattern as me anymore!?

So you are getting a “wrong user or password “ warning (or something similar)?
Try this, re-inserting your name and password. It should do the trick.

Offline

#6 2008-12-18 07:46:27

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Alternative backup technique for 4.0.7

Thanks redbot,

I’ve tried another ‘Publisher’ user and pass and then moved on to your SQL query

update txp_users set pass=password(lower('pass')) where name='user';

Each time get the same old message:

Could not login with that name/password.

Thanks for your advice, anyway.

:-(

Offline

#7 2008-12-18 11:03:47

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Alternative backup technique for 4.0.7

In fact, it’s worse than that, because even when I’ve tried resetting my password at the Textpattern login prompt, and had a new one mailed to me, it hasn’t been accepted…

Offline

#8 2008-12-18 11:04:49

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Alternative backup technique for 4.0.7

gavnosis wrote:

… I’ve tried another ‘Publisher’ user and pass and then moved on to your SQL query…

Actually you don’t need to create another “publisher” user, just open phpmyadmin and run the query.
Are you sure you are doing it correctly? Excuse me if I insist but it should work

update txp_users set pass=password(lower('pass')) where name='user';

where ‘pass’ is your password, and ‘user’ is the login username.

P.S. By the way, there is something I don’t undestand: if you can’t login to txp how could you create a new user??

Last edited by redbot (2008-12-18 11:07:10)

Offline

#9 2008-12-18 11:12:32

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Alternative backup technique for 4.0.7

Hi Redbot,

I’ve been in to PHPMyAdmin for the new textpattern site, and run the the query in the SQL tab – it hit go and this is what it said:


Affected rows: 0 (Query took 0.0005 sec)
SQL query:
UPDATE txp_users SET pass = password( lower( ‘pass’ ) ) WHERE name = ‘user’

And then gone back to my login screen and entered (just like you said)

  • Name user
  • Password pass

…And still the same old message:Could not login with that name/password.

Should I be concerned that there are 0 affected rows?

ps The other publisher was created on the original site, so there are two publisher accounts on the (working) original site

Last edited by gavnosis (2008-12-18 11:13:57)

Offline

#10 2008-12-18 11:17:31

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Alternative backup technique for 4.0.7

Excuse me for the silly question: in you query did you replace the word ‘pass’ with your real password and ‘user’ with your real username?

Offline

#11 2008-12-18 11:48:02

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: Alternative backup technique for 4.0.7

I should change my picture to red for embarrassed… Put the real thing in and worked a treat. Oops!

Thank you for your patience! I’m in, I’m happy, the sun’s shining and I’v e probably made someone smile…

;-)

Offline

#12 2008-12-18 12:07:55

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Alternative backup technique for 4.0.7

gavnosis

Eheh never mind… I understood your error because I’m a master myself in this kind of things ;)

Offline

#13 2008-12-18 14:01:28

szac
Member
From: Detroit-ish
Registered: 2004-09-18
Posts: 50

Re: Alternative backup technique for 4.0.7

running this query solved my problem as well. THANKS!!!

Offline

#14 2010-12-11 04:20:13

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Alternative backup technique for 4.0.7

Hello Textpattern experts!

I have just uploaded my textpattern site from Local Host to my new server (SiteGround). Although am able to view the website live, I’m unable to login into the textpattern window. We (me and SiteGround) believe we have configured the config.php file correctly, but nothing. The Local Host version has no problems (All Passed on diagnostics report). The login and password I’m using is the one that gets me into my Local Host (Publisher privileges). I’ve tried using “real name” and the “login name” to get in. That didn’t work either.

One thing to note is that I had copied this entire website from another I had created earlier—so I didn’t start from scratch. could that mean anything?

Have already reloaded the entire website/tree twice, and replaced the sql database file 3 times. Still, can’t login!

So, I’m wondering what I’m missing?

Thank you much!


Living the Location-Independent Life: www.NuNomad.com

Offline

#15 2010-12-11 09:49:05

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Alternative backup technique for 4.0.7

This has happened to me a few times, so I wrote a TXP Tip about it. Hope this helps!

Offline

Board footer

Powered by FluxBB