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
F3993962: D2985.id7618.diff
Fri, Jan 10, 14:55
Unknown Object (File)
Wed, Jan 8, 18:50
Unknown Object (File)
Mon, Jan 6, 05:20
Unknown Object (File)
Fri, Dec 27, 23:59
Unknown Object (File)
Thu, Dec 26, 03:03
Unknown Object (File)
Sun, Dec 22, 15:57
Unknown Object (File)
Sat, Dec 21, 04:44
Unknown Object (File)
Fri, Dec 20, 04:10
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 4715
Build 4996: arc lint + arc unit