mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:11:08 +08:00
REFACTOR: Restoring of backups and migration of uploads to S3
This commit is contained in:
@ -3,8 +3,8 @@
|
||||
module BackupRestore
|
||||
# @abstract
|
||||
class BackupStore
|
||||
class BackupFileExists < RuntimeError; end
|
||||
class StorageError < RuntimeError; end
|
||||
BackupFileExists = Class.new(RuntimeError)
|
||||
StorageError = Class.new(RuntimeError)
|
||||
|
||||
# @return [BackupStore]
|
||||
def self.create(opts = {})
|
||||
|
Reference in New Issue
Block a user