Support

UNiTE, Remote CLI, eXtract Wizard

#31870 unite siteInfo get latest package

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 munzirstudio on Wednesday, 16 October 2019 07:34 CDT

munzirstudio
Hi,

I have set up a cron job in Site A that FTP transfer .jpa backup file to Site B every day. In Site B I have setup UNiTE. However I want to ask how do I get UNiTE to pull latest .jpa file in <siteInfo><package> tag? Because jpa file name has date and timestamp as filename site-localhost-20191016-161005+08.jpa. Right now I need to write exact jpa filename.

Hope hear from you. Tq.

nicholas
Akeeba Staff
Manager
Akeeba UNiTE can only take and download a backup. It cannot download the latest backup archive of a backup previously taken.

You need to use Akeeba Remote CLI to download the backup archive locally. You can rename it to a predictable name and use that name in your UNiTE XML configuration.

Since these are two separate commands you can put them together in a script file and execute the script file instead.

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!

munzirstudio
Thank you.

from your advise I have created a bash script to fetch the latest .jpa for UNiTE to use to restore the site.

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!