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
F4055096: D2985.diff
Fri, Jan 24, 23:11
Unknown Object (File)
Tue, Jan 21, 16:29
Unknown Object (File)
Sun, Jan 19, 14:57
Unknown Object (File)
Fri, Jan 17, 16:57
Unknown Object (File)
Wed, Jan 15, 16:39
Unknown Object (File)
Mon, Jan 13, 20:51
Unknown Object (File)
Sun, Jan 12, 11:18
Unknown Object (File)
Sun, Jan 12, 11:18
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 Not Applicable
Unit
Tests Not Applicable