Page MenuHomePhabricator

[keyserver] Specify host to mysqldump
ClosedPublic

Authored by ashoat on May 20 2022, 2:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 3:56 AM
Unknown Object (File)
Nov 18 2024, 4:19 PM
Unknown Object (File)
Nov 18 2024, 12:13 PM
Unknown Object (File)
Nov 18 2024, 10:50 AM
Unknown Object (File)
Nov 16 2024, 7:20 AM
Unknown Object (File)
Nov 8 2024, 11:24 PM
Unknown Object (File)
Nov 8 2024, 12:48 PM
Unknown Object (File)
Oct 28 2024, 2:49 AM

Details

Summary

Right now it's basically hardcoded to use localhost. We have this config in DBConfig, so we should use it. This will make the backup work if the database is not local.

Depends on D4097

Test Plan
  1. I checked mysqldump --help | grep host on both my local macOS as well as on the prod server and it looks like it's definitely -h
  2. I tested the backup cronjob by modifying the time config
  3. I tested localhost to make sure it works as an alias to 127.0.0.1

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable