We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7437a1b commit 6b34c16Copy full SHA for 6b34c16
pkg/redis/backup/s3upload.go
@@ -59,7 +59,7 @@ func (br *Runner) UploadBackup(ctx context.Context) error {
59
path.Dir(br.RedisDBFile), br.BackupFile(),
60
),
61
// gzip /data/redis-backup-<shard>-<server>-<timestamp>.rdb
62
- fmt.Sprintf("gzip %s/%s", path.Dir(br.RedisDBFile), br.BackupFile()),
+ fmt.Sprintf("gzip -1 %s/%s", path.Dir(br.RedisDBFile), br.BackupFile()),
63
// AWS_ACCESS_KEY_ID=*** AWS_SECRET_ACCESS_KEY=*** s3cmd put /data/redis-backup-<shard>-<server>-<timestamp>.rdb s3://<bucket>/<path>/redis-backup-<shard>-<server>-<timestamp>.rdb
64
fmt.Sprintf("%s=%s %s=%s %s=%s %s s3 cp --only-show-errors %s/%s s3://%s/%s/%s",
65
util.AWSRegionEnvvar, br.AWSRegion,
0 commit comments