Support

UNiTE, Remote CLI, eXtract Wizard

#31430 – using UNiTE to restore backups for verification purposes, realistic?

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.
Thursday, 06 June 2019 12:01 CDT
I'm thinking about using UNiTE to restore backups to verify the validity of the backups.

Before I spend sometime learning the system, maybe you kind gentlemen can give me your opinion if it is pragmatic idea.

I use akeeba Joomla pro and Solo pro to backup a number of websites. The idea is to have a UNiTE installed on a server that will fetch S3 backups of these sites and install the latest backup on the UNiTE server using subdomains that differ from the domain of the original sites. On a schedule (trigger by cron, hopefully) they will all be restored to have someone log into the restored backups to make sure everything is working as it should.


Does this sound like a realistic use of UNiTE?
Custom Fields
Which tool do you want support for? Unite
Tool version (in x.y.z format) current
chuck
Friday, 07 June 2019 01:54 CDT
Absolutely yes!

Not only it's realistic, I do it myself for years. All my sites take at least daily backups on Amazon S3. Early in the morning a CRON job runs a Bash script which uses s3cmd to download them to my NAS for archiving and also create a copy of that latest versions in a standard location, with a predictable name.

Another computer on my network runs another CRON job about 30' later to fire up UNiTE. Since the NAS is mounted via NFS to the computer, as far as PHP (and UNiTE) knows the latest backups are local files in a predictable location and a predictable name. So it just goes ahead and restores those backups.

The restored sites are used for development and testing. In fact, to prevent repetition of past mistakes, I use the extrafiles and extrasql sections of UNiTE to change the graphics and colors of the template to remind me that I'm on a test site (don't wanna mix this with the live site!) and disable things like email and other 3rdparty service integrations on the restored site.

But I digress.

The thing that you were missing when considering your use case is how you can download just the latest backup from S3. This can't be done with UNiTE itself but it can be scripted with Bash using s3cmd and awk.


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, 22 July 2019 17:17 CDT
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
system
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.