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
F3770056: D2985.diff
Sat, Nov 23, 18:55
F3768996: D2985.id7618.diff
Sat, Nov 23, 11:57
Unknown Object (File)
Sun, Nov 17, 20:29
Unknown Object (File)
Sat, Nov 16, 02:52
Unknown Object (File)
Sat, Nov 16, 01:27
Unknown Object (File)
Mon, Nov 11, 07:01
Unknown Object (File)
Sun, Nov 10, 14:03
Unknown Object (File)
Mon, Nov 4, 04:15
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