Page MenuHomeDevCentral

Allow to import database from Ysul on dbserver-mysql role
ClosedPublic

Authored by dereckson on Apr 9 2023, 18:53.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 6, 15:20
Unknown Object (File)
Mon, Oct 6, 12:17
Unknown Object (File)
Mon, Oct 6, 02:41
Unknown Object (File)
Sat, Oct 4, 20:59
Unknown Object (File)
Sat, Oct 4, 09:49
Unknown Object (File)
Fri, Oct 3, 02:42
Unknown Object (File)
Wed, Oct 1, 19:39
Unknown Object (File)
Wed, Oct 1, 16:27
Subscribers
None

Details

Summary

Ysul has 255 databases, created between 2001 and now.

Instead of blindly restore everything, the idea is to provide
the dumps in /var/backups/db-treasure-chest directory, and a script
to create and restore the database on request.

Usage: db-treasure-import <database name>

Ref 1803

Test Plan

Deploy on db-B-001, import a database

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
SeverityLocationCodeMessage
Adviceroles/dbserver-mysql/treasure-chest/files/db-treasure-import.sh:39SC2086SHELLCHECK
Unit
No Test Coverage
Branch
treasure
Build Status
Buildable 4713
Build 4994: arc lint + arc unit