Support

Akeeba Backup for Joomla!

#12497 How to do a Partial Restore: Joomla Menus, Articles, Categories

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Saturday, 30 June 2012 18:00 CDT

user64082
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.4
PHP version: 5.3.3
MySQL version: 5.1.61
Host: http://stage3.woodsidelogic.com
Akeeba Backup version: 3.5.1

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
I want to use Akeeba Backup Professional to copy selected Joomla Articles, Categories, and Menus from one Joomla installation (stage3.woodsidelogic.com) to another Joomla installation (www.woodsidelogic.com). I have taken a full backup of stage3.woodsidelogic.com. The two sites use different templates (from RocketTheme) and I'm not looking to replace the www site with the stage3 site. I just want to copy some (not all) of the Joomla Menus, Articles, and Categories from stage3 to www. Can this be done with Akeeba Backup/Restore? Please point me to any documentation on doing selected/partial restoring.

nicholas
Akeeba Staff
Manager
Hi Steve,

What you want to do is not possible in Joomla! 2.5.4. Menus, categories, articles and extensions all create records in the #__assets table. You can't just copy a few menu items and articles to a different site. You'd have to also transfer their asset records. However due to the ID collision among the two sites' tables that would be outright impossible. Sorry :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user64082
Do you know if there is any API for adding a Joomla article? That is, is there some API that doesn't require the back-end GUI, but accomplishes the same thing either from the command line or by using REST APIs?

If so, this would help significantly to solve the problem of doing the article copy operation. If you can suggest any pointers, I can try to solve this problem.

nicholas
Akeeba Staff
Manager
Hm, I know of a way but I am afraid I will confuse you. Well, no harm in trying. There is a way to install an XML-RPC API which exposes Joomla!'s articles to blogging tools such as Windows Live Writer, ScribeFire etc. Essentially, the component implements the Movable Type API. For more details I can point you to a tutorial page I just found. From that point you can assign a developer to create a small application which reads the content tree from Site A (over the Movable Type API), compares it to Site B's content tree (again fetched over the Movable Type API) and add the missing content articles, of course over the Movable Type API. Not a perfect solution and it does have some kinks, e.g. cross-links between articles will certainly be broken. Moreover, using that method, ACL preferences are not transferred between the two sites. If you only want to transfer public content, thought, it's more than an adequate metod.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user64082
I'll give it a try... thanks. I also looked one particular REST API. It claims to be able to create content.

But, you are right in that the content may refer to other content. Still, either your solution or the REST API approach is likely to save effort.

Thanks again... very nice of you to chime in so quickly!

Enjoy,
Steve

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!