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
F53891452: D2985.id7619.diff
Tue, Oct 13, 01:55
F53887716: D2985.id7617.diff
Tue, Oct 13, 01:12
F53887711: D2985.id7620.diff
Tue, Oct 13, 01:12
F53886276: D2985.id7617.diff
Tue, Oct 13, 00:54
F53876716: D2985.id7616.diff
Mon, Oct 12, 23:04
F53865341: D2985.diff
Mon, Oct 12, 20:55
Unknown Object (File)
Wed, Oct 7, 22:53
Unknown Object (File)
Tue, Oct 6, 10:44
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