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
F24644695: D2985.id7616.diff
Tue, Mar 3, 03:17
F24644444: D2985.id7616.diff
Tue, Mar 3, 03:00
F24644443: D2985.id7616.diff
Tue, Mar 3, 03:00
F24638150: D2985.id7618.diff
Mon, Mar 2, 21:10
F24637870: D2985.id7618.diff
Mon, Mar 2, 20:50
Unknown Object (File)
Sat, Feb 28, 20:17
Unknown Object (File)
Sat, Feb 28, 20:11
Unknown Object (File)
Wed, Feb 25, 10:01
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