Support

UNiTE, Remote CLI, eXtract Wizard

#27717 UNiTE extraction via FTP

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 user17596 on Thursday, 11 May 2017 10:16 CDT

user17596
Hello,

I may be trying to use the software in a manner it which it is not intended. 

First question is can I use this tool in the following manner?

Box A: Contains our live site
Box B: Contains a copy of the Live site form Box A
Box C: Is the runner for our gitlab server that I want to do the backup and restore from.

To this point I have UNITE installed on Box C. In the inbox folder I have created an xml file called snapshot_production.xml. This file contains <remote>, <siteInfo> and <databaseInfo> groups. When I run the restore site script, the following happens.

A remote backup is made on Box A (live site), then downloaded and written to Box C: inbox folder. So this part works fine. Here are the last few lines of the log file:

20170510|15:13:01|Finished backing up the remote site
20170510|15:13:01|Downloading backup with curl method
20170510|15:13:14|Archive downloaded successfully
20170510|15:13:14|Downloaded file is inbox/site-192.168.2.26-20170510-200817.jpa
20170510|15:13:15|Running s3
20170510|15:13:15|Running stealth
20170510|15:13:15|New FTP object
20170510|15:13:15|Changing to initial directory (FTP)
20170510|15:13:15|Writing a stealth .htaccess (FTP)
20170510|15:13:15|Running extract
20170510|15:13:15|Extractor tick
20170510|15:13:15|Extraction of package inbox/site-192.168.2.26-20170510-200817.jpa has failed.

I want to extract the archive and install it on Box B (My development server) Will UNITE do this? In the <siteInfo> section I have included <ftphost>, <ftpuser>, <ftppass> and <ftpdir> tags with correct information.

The .htaccess file is written to the Box B (dev web server), web document folder. But then it looks like the .JPA extraction is not happening.

Additional info that may be helpful. The UNITE config points to tmp (tmp exists in the unite installation folder). There is nothing in the folder. I would think that the archive would be extracted there before trying to FTP to Box B (dev server).

Can you help me?

Joe

user17596
I should also point out that I was running Joomla 2.5.27 and Akeeba Backup Core v4.1.2

I have upgraded Akeeba Backup Core to version 4.7.4 (The newest version I can run with PHP 5.3.10

I read in the docs that all backups have to be made with Akeeba 4.6 or later.

Going to try it again. Will report back.

Joe

user17596
Installing UNITE on the target webserver using FTP does not work, but PHP file copy does.

Joe

tampe125
Akeeba Staff
Hello,

I'm sorry but you can restore the site only on the server that is currently running UNiTE.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user17596
Thank you. I was worried that I was using it in the wrong manner. Thank you for your reply. I will add that the product does work well run from the server the site is being restored to.

Thanks for the follow-up.

Joe

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!