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
F6924241: D2985.id7616.diff
Thu, Apr 17, 10:33
F6924148: D2985.id7618.diff
Thu, Apr 17, 10:30
F6907725: D2985.id7619.diff
Thu, Apr 17, 00:46
F6907709: D2985.id7620.diff
Thu, Apr 17, 00:45
F6907325: D2985.id7617.diff
Thu, Apr 17, 00:35
Unknown Object (File)
Wed, Apr 16, 15:36
Unknown Object (File)
Wed, Apr 16, 12:04
Unknown Object (File)
Mon, Apr 14, 06:50
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