I want to writer a ANT target named “restore” to fulfill the following purpose :-
- Restore from a back up Tamino 4.4.1 database.
- The name of the database and connection information should be taken from properties file.
- Restore of the database should be performed according to standard restore procedure for Database (if it necessary stop and delete/rename existing database, restore database with required name from backup).
- Latest database backup should be taken from default Tamino backup path.
- Command should return result of the database restore command.
- All procedure should be performed as one process/command without interruptions.
I am not getting the right way to solve it can u please help me.
Thanks a lot.