0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/lib/backup_restore
David Taylor 64fb127ad6
FIX: Never use structure.sql when restoring a backup (#41164)
We sometimes use 'empty' backup files to reset a site to defaults. Since
we added structure.sql, that was being applied instead of properly
running all the database migrations. This would cause a problem for the
discourse_functions schema, which the backup/restore pipeline manages
deliberately.
2026-06-24 12:35:12 +01:00
..
backup_file_handler.rb FIX: Handle restore URLs ending with query params (#33384) 2025-07-07 18:43:31 +03:00
backup_store.rb
backuper.rb DEV: Add backuper.rb for autoload backwards compatibility 2026-01-22 23:03:23 +00:00
creator.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
database_restorer.rb FIX: Never use structure.sql when restoring a backup (#41164) 2026-06-24 12:35:12 +01:00
factory.rb
local_backup_store.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
logger.rb
meta_data_handler.rb
restorer.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
s3_backup_store.rb PERF: Run primary and parallel DB setup concurrently in CI (#40319) 2026-05-29 06:46:32 +08:00
system_interface.rb DEV: Fix sidekiq requires in test env 2025-07-22 12:40:57 +02:00
uploads_restorer.rb DEV: Hand-pick Rails/WhereNot autofixes (#35117) 2025-10-03 13:29:22 +02:00