Implement command to backup a MySQL dump. Note that this logic had already been implemented in the drupal:backup command which we're aiming to refactor.
backup:create db --non-sanitized
Create a sanitized database export by default using the task taskMySqlDump (previously implemented in #30). If the --non-sanitized flag is passed, proceed accordingly.
Upload archives to an Amazon S3 bucket.
Clean up old files in the same Amazon S3 bucket based on the retention policy defined in .spark.yml.
Write a task named taskS3Upload with the following options (implemented as class methods to set those options):
bucket
region
file
Write a task named taskS3Cleanup with the following options (implemented as class methods to set those options):
Implement command to backup a MySQL dump. Note that this logic had already been implemented in the
drupal:backup
command which we're aiming to refactor.backup:create db --non-sanitized
taskMySqlDump
(previously implemented in #30). If the--non-sanitized
flag is passed, proceed accordingly..spark.yml
.Write a task named
taskS3Upload
with the following options (implemented as class methods to set those options):bucket
region
file
Write a task named
taskS3Cleanup
with the following options (implemented as class methods to set those options):bucket
region
keep
🗺 See the big picture and find more information on this board: https://app.mural.co/t/relevantbits3735/m/relevantbits3735/1536919231246/07e00f760d984cb65ecd82b72e75dffaeb3017bd