Support

UNiTE, Remote CLI, eXtract Wizard

#3609 – server side version of Remote?

Posted in ‘UNiTE, Remote CLI, eXtract Wizard’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 10 February 2010 11:18 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
 
Wednesday, 10 February 2010 14:33 CST
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)

Wednesday, 10 February 2010 14:50 CST
johnsanders
Thanks Dale. I had a feeling that was the case, but wanted to verify.

Is there a published API for the Joomlapack XMLRPC?
 
Thursday, 11 February 2010 02:00 CST
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)

Saturday, 13 February 2010 09:30 CST
nicholas
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



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



Monday, 15 February 2010 12:04 CST
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.
 
Tuesday, 16 February 2010 00:45 CST
nicholas
You're welcome :D


Nicholas K. Dionysopoulos

Lead Developer and Director



🇬🇷Greek: native

🇬🇧English: excellent

🇫🇷French: basic



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



This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!