Support

UNiTE, Remote CLI, eXtract Wizard

#3609 server side version of Remote?

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Tuesday, 16 February 2010 00:45 CST

johnsanders
Is there a server based version of Remote? A PHP app by chance?

I have a client who is trying to automate his backup process for his clients, but can't use either the desktop Remote client, or the php scripts that run via cron on the webserver. Reasons for both are long to explain.

My initial idea was to replicate the functionality of the desktop Remote app on a separate "backup" server. On this server would be a PHP-based XMLRPC client that initiates the backups on the various web servers out there, then pulls the backup files to itself.

Has anyone done this already, or are there plans in the Joomlapack dev world to offer this?

Any thoughts on the subject would be great.

Thanks,
John

dlb
No, there is no such animal right now. There are plans to include some additional off site backup options in version 3. Backing up to a cloud server has been mentioned. That answer is a little vague, I'm the "press F5" guy, can't program a lick. Nicholas is the ideas guy. :D

Nicholas touches on some of the features in this blog post.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

johnsanders
Thanks Dale. I had a feeling that was the case, but wanted to verify.

Is there a published API for the Joomlapack XMLRPC?

dlb
No API that I am aware of. You need to talk to Nicholas. :D


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
John,

There is no published API for Remote, but it's easy to read the plg_jpremote code as it describes the parameters to all calls.

Technically, what you're trying to do exists! It's the scripts generated by CRON Script Manager. Each of those scripts is actually just a configuration table which then loads croninclude.php. This latter file uses JSON to talk to the JoomlaPack installation and do the backup. Since the JSON service is embedded in the component it doesn't require setting up an XML-RPC plug-in. It's much more compact.

Here's the best deal you've ever had: croninclude.php can initiate a backup on any server, not just the one it's installed in! In fact, I was using this file long before the CRON Scripts Manager feature, on my Linux server, in CRON jobs which would run remote backups and download the archives to my own server. I think this is exactly what you want to do.

If you don't understand the comments in the code, send me a PM with your email and I'll try to explain every step of the process as better as I possibly can.

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!

johnsanders
I see. That is precisely what I'm trying to do. It looks like, however, I'll have to modify the code to add a "download" postop feature. That's easy enough to do though. Thanks again, you guys are great.

nicholas
Akeeba Staff
Manager
You're welcome :D

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!

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!