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
F53865341: D2985.diff
Mon, Oct 12, 20:55
Unknown Object (File)
Wed, Oct 7, 22:53
Unknown Object (File)
Tue, Oct 6, 10:44
Unknown Object (File)
Mon, Oct 5, 12:05
Unknown Object (File)
Mon, Oct 5, 07:13
Unknown Object (File)
Mon, Oct 5, 03:45
Unknown Object (File)
Sun, Oct 4, 18:15
Unknown Object (File)
Sun, Oct 4, 18: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 4714
Build 4995: arc lint + arc unit