discourse/app/jobs
Andrew Schleifer 74d28a43d1
new S3 backup layout (#9830)
* DEV: new S3 backup layout

Currently, with $S3_BACKUP_BUCKET of "bucket/backups", multisite backups
end up in "bucket/backups/backups/dbname/" and single-site will be in
"bucket/backups/".

Both _should_ be in "bucket/backups/dbname/"

- remove MULTISITE_PREFIX,
- always include dbname,
- method to move to the new prefix
- job to call the method

* SPEC: add tests for `VacateLegacyPrefixBackups` onceoff job.

Co-authored-by: Vinoth Kannan <vinothkannan@vinkas.com>
2020-05-29 00:28:23 +05:30
..
concerns DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
onceoff new S3 backup layout (#9830) 2020-05-29 00:28:23 +05:30
regular FIX: don't send digests to users with no primary email 2020-05-27 17:09:40 +02:00
scheduled FIX: don't send digests to users with no primary email 2020-05-27 17:09:40 +02:00
base.rb DEV: Run jobs sequentially in test mode (#9897) 2020-05-28 12:52:27 +01:00