Support

UNiTE, Remote CLI, eXtract Wizard

#3806 Remote CLI for (us) dummies

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 Friday, 09 December 2011 04:12 CST

user11823
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the forum before posting? Yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 1.5.25 and 1.7.3
PHP version: 5.2.17
MySQL version: 5.0.92-community
Host: (optional, but it helps us help you)
Remote CLI 1.1

Description of my issue:

I am trying to get the hang of Remote CLI for remot backups from my Mac (10.7), but I am having trouble. This is unchartered territory for me...

Is there any way of convincing you to add a step-by-step walk-through that is a bit easier to follow for us dummies (in my case for MacOS). It would need to include such things as where to put the php file, how to open it etc.

I realize that this request may seem a bit demanding - and that people like me without the basic understanding of working with command lines probably shouldn't bother with CLI - but it's a much needed tool for anyone administering a lot of Joomla sites.

It would thus be greatly appreciated!

user11823
...and I have of course read the documentation, contrary to what was stated in my previous post...

nicholas
Akeeba Staff
Manager
Hi!

I believe that all you need is included in the Walkthrough section of Remote CLI's documentation. Mac OS X, unlike other Operating Systems, has PHP built in - you don't even need to setup anything, woot!

The only hlaf-obvious steps missing are:
- Download remote.phar to your Downloads folder
- Open Terminal (Applications, Utilities, Terminal)
- Run this command to change the current directory to your Downloads folder:
cd ~/Downloads

From that point you can start experimenting as per the instructions in the Walkthrough chapter.

Now, automating the whole lot means that you have to brave up and use CRON. There is a nice tutorial here. Don't be afraid by the first few paragraphs. Read it through, it gets easier towards the end. You'll have to follow these instructions to set up your crontab file. Of course this also requires you to create a shell script to run the actual command, so I'm not sure if it's of any help.

Actually, I'd recommend a much easier way to automate your backups and have them delivered to your Mac's hard disk:
- Signup for the free plan of DropBox
- Set up Akeeba Backup to back up to DropBox (we have a tutorial in the documentation!)
- Use either a CRON job on your server (with the front-end backup, backup.php or altbackup.php) or webcron.org to schedule your backup to run daily. Instructions can be found in the documentation.
The idea is that your site backs up itself daily and sends the backup archive to DropBox. When you turn on your Mac, it starts downloading them to your hard disk. It's now up to you to do whatever you want with them: keep 'em on DropBox, move them around, delete them, it's your choice. Bonus: if you have multiple computers, the backup files will automatically be copied to the other computers!

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!