BCDevOps / backup-container

A simple container for a simple backup strategy.
Apache License 2.0
42 stars 56 forks source link

Add database size comparison to verification tests #23

Open WadeBarnes opened 5 years ago

WadeBarnes commented 5 years ago

Based on the logs of several backup and verification runs the size of a restored database is typically just over 80% of the live database (~81% to 84%).

Add a test to the verification process that compares the size of the live DB with the restored DB. The test by default should look for the size of the restored DB to be not less than 80% of the live DB. This setting should be configurable on a per DB basis.