Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-24 10:50:20

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Copying content to a new installation?

Lo,

I’m planning to write all presentation again from scratch on two of my sites. Any suggestions how to move content from A to B easily? I care mostly about stuff under “content” tab – I’d like tossing everything else. Even comments etc.

I was thinking making a db backup with rss_admin_db_manager at A, delete non-content parts of the backup, and import it at B. (of course i have to manually copy files and images too.)

Is there somekind of import function I should know for or should I considerin hacking one up?

cheers.


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#2 2007-04-24 12:34:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Copying content to a new installation?

If you use phpMyAdmin, all you will need to back up is the textpattern table as it is there where the ‘content’ is stored. Having said that, it depends on your expertise. I know I don’t call myself an expert as i do not feel confident with mysql and php so i would back up everything, reinstall to ‘B’ and start from there:)

>edit… typos

Last edited by colak (2007-04-24 17:41:56)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-04-24 12:51:38

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: Copying content to a new installation?

As colak i would suggest using phpmyadmin to copy the complete textpattern table.

If you want to copy content and comments, make sure, that you don’t change article`s ID, because they are used to connect comments and articles.
That should be no problem, while copying into an empty installation, but if you installation two already has its own content, its getting a bit tricky.

Offline

#4 2007-04-25 14:47:07

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: Copying content to a new installation?

Thanks.

Unfortunately I don’t use phpadmin (I trust my dark voodoo cli skills :) but i’m getting the idea.. Shouldn’t I copy the category, section, tables aswell? What I want is getting rid all hacks’n‘mods I’ve been using..

Maybe the “easiest” way is making a clean 4.0.3 install, import backup from existing site, upgrade it 4.0.4 (or’n‘svn), create every form and style and page from scratch and then overwrite the ‘real’ site.

Yep – I’m not merging two dbases, just having a “clean” rewrite. ..i started to wonder how i could merge two databases though now :D


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

#5 2007-04-25 14:55:41

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Copying content to a new installation?

If you use a ‘hacked’ 403, I would just upgrade on my local drive first to see what gives…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2007-04-25 18:30:22

anoke
Archived Plugin Author
Registered: 2006-04-15
Posts: 152

Re: Copying content to a new installation?

i prefer “pimped up” :P

But yeah, seems like i have to witness what breaks when upgrading.. I’m avoing that moment of self-realisation; “why on earth did i do that?!?”..


- When chickens are cold, they roost in trees; when ducks are cold, they plunge into water -

Offline

Board footer

Powered by FluxBB