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
F23653089: D2985.diff
Thu, Feb 5, 21:51
F23632495: D2985.id7618.diff
Thu, Feb 5, 19:30
F23632082: D2985.id7619.diff
Thu, Feb 5, 19:28
F23631132: D2985.id7620.diff
Thu, Feb 5, 19:23
F23630923: D2985.id7616.diff
Thu, Feb 5, 19:21
F23586911: D2985.diff
Thu, Feb 5, 13:34
F23502871: D2985.diff
Thu, Feb 5, 03:58
Unknown Object (File)
Mon, Feb 2, 15:36
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