Support

Akeeba Backup for Joomla!

#9156 Remote CLI as a Cron in my windows machine with remote FTP server

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 nicholas on Friday, 11 November 2011 10:27 CST

zott
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Not apply
Have I searched the forum before posting? No
Have I read the documentation before posting (which pages?)? A little
Joomla! version: various (1.5/1.7)
PHP version: 5.3.8
MySQL version: 5.0.92-community
Host: Dedicated servers on SoftLayer - Linux 2x4core 8gbRam
Akeeba Backup version: always latest or one before, never old.

EXTREMELY IMPORTANT: Please attach your Akeeba Backup log file in order for us to help you with any backup or restoration issue.

Description of my issue:

Hi Nicholas.

I would like to set up a Cron Job in my windows machine to run every day at X hour, and make remote backups of all my sites (about 50), one at a time, in a queue. The backup files should be downloaded to my machine, via my FTP server (I'm getting a dedicated IP for my connection, and I'll set up a FTP server here).

Can I hire you to write the script, the cron, and just give me the coordinates to add the cron to windows, and add a new site in the script? Or else, can you give me a recommendation of someone who can do that?

Thank you, and best regards.

Jonathan Roza

Jonathan Roza www.zott.com.br

nicholas
Akeeba Staff
Manager
Hi Jonathan,

I could do half of that for you, for free. After all, it's all documented ;)

1. Install PHP for Windows: Instructions - Installer file (MSI). Make sure you install it to c:\PHP. Even though you could use another directory, let's keep it there so that we have an easy to remember point of reference ;)
2. Put remote.phar inside c:\PHP
3. Create a file, using Notepad, name it backup.bat and place it inside the c:\PHP directory. The contents of the file should be:
@ECHO OFF
CD C:\PHP

4. Append the calls to Remote CLI in backup.bat. Just file a private ticket giving me all the connection information for one of your sites so that I can reply you with the EXACT command line you need to place in the backup.bat file - or even a sample backup.bat file. By appending one line for each site you make sure that they get to backup and download one by one.
5. Schedule it! Scheduling tasks in Windows XP - Schedule a task on Windows 7.

See? It's very easy :)

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!