Page MenuHomePhabricator

New DB request: etherpad
Closed, ResolvedPublic

Description

QPS: similar to the existing etherpad-lite database
Size: Small, data will expire after 90 days
DB Name: etherpad
User: etherpad
Accessed from server (s): TBD
Backup Policy: daily backups if possible, data will expire after 90 days, can we account for that?
Grants needed:

Event Timeline

Marostegui triaged this task as Medium priority.Mon, Aug 3, 7:36 AM
Marostegui moved this task from Triage to In progress on the DBA board.

@LSobanski what is the plan with the old etherpad DB?

Change #1319969 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] production-m1.sql.erb: Add new grants for etherpad

https://gerrit.wikimedia.org/r/1319969

Change #1319969 merged by Marostegui:

[operations/puppet@production] production-m1.sql.erb: Add new grants for etherpad

https://gerrit.wikimedia.org/r/1319969

Change #1319972 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] production-m1.sql.erb: Fix username

https://gerrit.wikimedia.org/r/1319972

@LSobanski I assume the grants are exactly the same as the current etherpadlite ones.
And the servers that will access them must go through the proxies anyway.

Change #1319974 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] production-m1.sql.erb: Add codfw etherpad new grants

https://gerrit.wikimedia.org/r/1319974

Change #1319972 merged by Marostegui:

[operations/puppet@production] production-m1.sql.erb: Fix username

https://gerrit.wikimedia.org/r/1319972

Change #1319974 merged by Marostegui:

[operations/puppet@production] production-m1.sql.erb: Add codfw etherpad new grants

https://gerrit.wikimedia.org/r/1319974

DBAs: I see from the patches that the new db will be just called "etherpad", correct?

@LSobanski:

daily backups if possible, data will expire after 90 days, can we account for that?

That's our most standard policy (daily incrementals, fortnite differentials, monthly fulls). Do you mean that data will be fully deleted every 90 days? It shouldn't affect backup policy a lot, although it would help if they are aligned with natural months (e.g. deletions happen on the first of each month), as full backups happen on the first week of the month.

Change #1320105 had a related patch set uploaded (by Jcrespo; author: Jcrespo):

[operations/puppet@production] dbbackups: Add backups for new m1 database: etherpad

https://gerrit.wikimedia.org/r/1320105

DBAs: I see from the patches that the new db will be just called "etherpad", correct?

Yes, as requested on the original task description.

DBAs: I see from the patches that the new db will be just called "etherpad", correct?

Yes, as requested on the original task description.

Silly me, I didn't notice that.

Marostegui claimed this task.

@LSobanski the DB has been created (empty, if you'd need me to create the single table, just let me know).
user: etherpad
password: same as the previous user.

Access has been deployed with the the same (via the proxies) grants.
Please reopen should you need something else.
Jaime is working on the backups side already too.

Change #1320105 merged by Jcrespo:

[operations/puppet@production] dbbackups: Add backups for new m1 database: etherpad

https://gerrit.wikimedia.org/r/1320105

Backup config deployed, I will check at least an empty db is backed up tonight.