Support

UNiTE, Remote CLI, eXtract Wizard

#37328 Is it possible to skip name and email while using unite?

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
4.1.6

Latest post by nicholas on Wednesday, 22 June 2022 02:13 CDT

aquasp

Hey team!

I just bough the Akeeba Wordpress Bundle and I was trying to make the restore fully automatic once I have the .jpa file.

 

My issue right now is just the XML file, that is the skeleton that I have: https://i.imgur.com/y15bJLN.png

 

All the data I can get automatically using BASH and WP cli. So I'm able to put db details and absolutepath for example automatically at the XML, without human intervention. However, I couldn't find a way to make name and email automatic. Is there any way to skip that information so unite will get that from the .jpa backup file instead of overwriting when restoring the backup?

 

Thanks!

 

System Task
system
The ticket information has been edited by Augusto Magno Gaspar Pereira (aquasp).

nicholas
Akeeba Staff
Manager

The <name> is the name of the site. This is only stored in the database. However, if you leave it blank it will not be changed.

The <email> is ignored for WordPress sites. You should be able to leave it blank as well.

Another not of warning. I see you are using environment variables like $USER. These do not get replaced automatically. I suppose you are post-processing that XML file somehow and replacing them yourself?

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!

aquasp

Hey Nicholas!

 

Thanks for the blazing fast reply. I think now I've everything  to make my bash script to restore everything automatically. 

 

About the $USER, yes, you are correct. I will use BASH to write the xml file. Bash should replace the $USER, but I will test before deploying it hehe.

nicholas
Akeeba Staff
Manager

You're welcome :) If anything else comes to mind, the next few weeks would be the perfect time to tell me as I am refactoring (or, more accurately put, rewriting almost from scratch) UNiTE.

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!