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
F52821826: D2985.id7618.diff
Mon, Oct 5, 03:45
F52776834: D2985.id7618.diff
Sun, Oct 4, 18:15
F52776824: D2985.id7618.diff
Sun, Oct 4, 18:15
F52776160: D2985.id7620.diff
Sun, Oct 4, 18:06
F52745033: D2985.diff
Sun, Oct 4, 10:55
Unknown Object (File)
Sat, Oct 3, 22:42
Unknown Object (File)
Sun, Sep 27, 21:57
Unknown Object (File)
Sun, Sep 27, 21:53
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