Support

UNiTE, Remote CLI, eXtract Wizard

#31694 – delete restore location before install & change ownership

Posted in ‘UNiTE, Remote CLI, eXtract Wizard’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 30 August 2019 11:48 CDT
Is it possible to have UNiTE delete the contents of a restore location before restore? And to change ownership from root to apache? Is this usually done with a bash script?

Or is it already a feature and a misconfiguration on my end?
Custom Fields
Which tool do you want support for? UNiTE
Tool version (in x.y.z format) 4.0.3
chuck
Monday, 02 September 2019 01:14 CDT
No, UNiTE cannot perform these operations. The reason is that, as you correctly guessed, that's the purview of a shell script which performs a series of operations, one of them being running UNiTE.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Monday, 02 September 2019 12:24 CDT
Thanks Nicholas.

I'm a novice, but UNiTE came together for me. After a few minutes of wrapping my brain around it, it's very simple.
I used your suggestion in this thread for restores on cron: https://www.akeebabackup.com/support/desktop-utilities/Ticket/31430:using-unite-to-restore-backups-for-verification-purposes-realistic.html

The only change I made in scripting was to use a date variable and a wildcard for the s3cmd download, the wildcard replacing the minutes in the archive name, and saving it to a static name for the xml

chuck
Monday, 02 September 2019 12:33 CDT
chuck
Tuesday, 03 September 2019 02:31 CDT
I'm glad you found it useful! UNiTE is meant to be very easily scriptable indeed :)


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.