We're trying to backup vttablet using GCS with -gcs_backup_storage_root parameter. We didn't expect the backup files turns out to be in different path than we thought.
See where the directory are (obviously not in root path on bucket)
With little experiment we've found the variant of GCS storage root:
`-gcs_backup_storage_root /` the dir created is `///other/0...`
`-gcs_backup_storage_root /something` the dir created is `//something/other/0...`
`-gcs_backup_storage_root something` the dir created is `/something/other/0...` (correct one)
So we need to do it without any slash to dirname something
Overview of the Issue
We're trying to backup vttablet using GCS with
-gcs_backup_storage_root
parameter. We didn't expect the backup files turns out to be in different path than we thought.Reproduction Steps
Deploy vttablet using GCS backup parameters:
Run
vt Backup <tablet alias>
See where the directory are (obviously not in root path on bucket)
With little experiment we've found the variant of GCS storage root:
So we need to do it without any slash to dirname
something
Image version