Page MenuHomeSoftware Heritage

tate: Exclude /var/lib/mysql files from dar backup
ClosedPublic

Authored by ardumont on Dec 19 2019, 8:13 AM.

Details

Reviewers
olasd
douardda
Group Reviewers
Reviewers
Summary

The folder backup /var/lib/mysql is ~16gib
The db /var/lib/mysql is ~10gib

And the dar backup is ~25gib.

  1. i think that backup is redundant with the actual dar system
  1. it takes probably more space than needed
  1. the space on tate is limited and out of space error seems to cumulate

recently

So makes some room, maybe?

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9871
Build 14574: arc lint + arc unit

Event Timeline

ardumont created this revision.Dec 19 2019, 8:13 AM

Discussing with @olasd on irc

it's the other way around
/var/lib/mysql contains the raw files
but that won't allow us to consistently recreate the db.
So we need to exclude those
But backup the /var/lib/automysqlbackup

will adapt accordingly

ardumont updated this revision to Diff 8775.Dec 19 2019, 8:25 AM

Exclude /var/lib/mysql and keep /var/lib/automysqlbackup

ardumont retitled this revision from tate: Exclude automysqlbackup files from dar backup to tate: Exclude /var/lib/mysql files from dar backup.Dec 19 2019, 8:25 AM
olasd accepted this revision.Dec 19 2019, 8:28 AM

Thanks!

This revision is now accepted and ready to land.Dec 19 2019, 8:28 AM
ardumont closed this revision.Dec 19 2019, 8:31 AM
ardumont edited the summary of this revision. (Show Details)

Closed by 4b2a513

Also deployed!