8 Commits

Author SHA1 Message Date
b75965e915 list backups just before starting deletion of wanted backups 2019-10-09 17:30:54 +05:30
3e0621ebf6 verify backups to work on latest list of backups
when tables rotate, it creates a final backup of last active table.
verify backups was not having that last backup in the list so this change makes sure it has
latest list of backups
2019-09-27 14:43:32 +05:30
70ed5feb9d Change unit of duration params to hours to align it with duration config at other places in Loki (#998)
* Change unit of duration params to hours to align it with duration config at other places in Loki

other configurations like periodic table duration, retention are set in hours so this change makes
duration config for backup tool consistent and easy to manage configurations

* update parent docker image for bigtable backup tool
2019-09-10 16:06:27 +05:30
481906c425 fix incrementing of bigtable_backup_job_backups_created metric (#930) 2019-08-22 13:08:08 +05:30
ce945b42a4 fix data type passed to a function call and usage of oldest table number in bigtable backup 2019-08-20 18:25:21 +05:30
e65fd2e798 bigtable-backup-tool: Improvements (#895)
* improvements in bigtable backup tool

Added some metrics for monitoring of backup jobs
Added a command to delete out of range backups, otherwise, there would be more backups than expected and alerts would start firing for unexpected backups
2019-08-20 15:27:36 +05:30
b36f680f58 Added namespace to label value of job exported from bigtable backup cronjob 2019-08-07 11:35:19 +05:30
9930f70446 bigtable-backup: Tool for creating and managing periodic tables stored in Bigtable (#729)
* Tool for creating and managing periodic tables stored in Bigtable

It has 2 commands:
1. backup-active-periodic-table: For backing up active periodic table
2. ensure-backups: It helps ensure right tables are backed up and retain only single backup for non active periodic tables
2019-08-02 17:58:41 +05:30