discourse/script
Bianca Nenciu 1f2efa7954
FEATURE: Add utilities for importing and exporting backups (#32992)
This commit introduces new features and utilities related to the backup
and restore system that make use of remote URLs:

- `discourse restore` accepts a URL to a backup file

- `discourse backup_url` generates a URL of a backup file (S3 only)

- `discourse import_backup_url` downloads a backup file from a URL to
the configured backup store

This can be used to move content between two Discourse instances by
backing up the entire site, copying the backup URL, importing or
restoring it on the other instance.
2025-06-11 15:44:10 +03:00
..
benchmarks DEV: Update rubocop-discourse to 3.6.0 (#24945) 2023-12-18 13:44:36 +01:00
bulk_import FIX: Skip importing solved topics when plugin isn't installed (#32922) 2025-05-27 22:08:43 +02:00
demon_test
import_scripts Scripts:Xenforo: Modify importer to use reactions table (#31859) 2025-05-08 12:55:32 +10:00
.gitignore
alice.txt
analyse_message_bus.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
analyze_sidekiq_queues.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
assemble_ember_build.rb PERF: Set JOBS=1 for low memory build environment (#32326) 2025-04-16 10:14:23 +01:00
bench.rb DEV: Fix benchmark script 2024-11-20 14:36:44 +01:00
biggest_objects.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
boot_mem.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
build_jsconfig.rb FEATURE: introduce a ProseMirror editor (#30815) 2025-02-04 14:37:18 -03:00
cache_critical_dns DEV: Support connecting to Redis with a username. (#31710) 2025-03-13 10:39:50 +08:00
check_forking.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
check_reproducible_assets.rb DEV: introduce Embroider behind a flag, and start testing in CI (#23005) 2023-09-07 13:15:43 +01:00
copyright-deposit Add script for compiling copyright deposits (#9646) 2020-05-06 12:51:45 -04:00
db_timestamps_mover.rb DEV: Remove ignored tables that have been dropped (#30185) 2024-12-10 07:11:05 +08:00
diff_heaps.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
discourse FEATURE: Add utilities for importing and exporting backups (#32992) 2025-06-11 15:44:10 +03:00
docker_test.rb DEV: Fix typo in docker_test.rb script (#23456) 2023-09-07 15:36:27 +08:00
get_github_workflow_run_job_id.rb DEV: Fix flaky tests report artifacts not using the right job_id (#24939) 2023-12-18 15:59:41 +08:00
i18n_lint.rb DEV: Make banned-phrase detection case insensitive (#30271) 2024-12-13 16:24:35 +00:00
install_minio_binaries.rb Revert "DEV: Skip MinioRunner until min.io renews their cert (#25137)" (#25138) 2024-01-05 14:08:27 +08:00
list_bundled_plugins DEV: Update core lint commands to only affect bundled plugins (#29824) 2024-11-19 18:56:14 +00:00
local_minio_s3.rb DEV: Add S3 upload system specs using minio (#22975) 2023-08-23 11:18:33 +10:00
memory-analysis DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
memstats.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
micro_bench.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
mwrap_sidekiq
profile_db_generator.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
promote_migrations DEV: Promote historic post_deploy migrations (#19492) 2022-12-16 13:36:30 +02:00
rails
redis_memory.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
require_profiler.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
silence_successful_output DEV: Silence successful database migration output in github actions (#24416) 2023-11-16 15:55:41 +00:00
spawn_backup_restore.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
start_test_db.rb DEV: Set synchronous_commit to off in start_test_db (#25453) 2024-01-29 10:14:32 +08:00
switch_container_ruby
test_email_settings.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
test_mem.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
test_memory_leak.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
test_pretty_text.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
thread_detective.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
user_simulator.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00