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
F10048305: D2985.id7619.diff
Wed, Jun 18, 05:06
F10046854: D2985.id7620.diff
Wed, Jun 18, 03:57
F10042394: D2985.id7619.diff
Wed, Jun 18, 02:23
F10036437: D2985.diff
Wed, Jun 18, 00:16
F10018227: D2985.id7619.diff
Tue, Jun 17, 17:36
Unknown Object (File)
Mon, Jun 16, 22:25
Unknown Object (File)
Mon, Jun 16, 08:00
Unknown Object (File)
Thu, Jun 12, 00:35
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
main
Build Status
Buildable 4712
Build 4993: arc lint + arc unit