23 Commits

Author SHA1 Message Date
Erik Bernhardson
48cb386d58 Take filename to write to as optional parameter to export_category
My discourse instance will be making regular automated public backups
of specific categories. It's preferred to be able to directly control
the path and filename of the output, rather than letting discourse
choose for me. This was already mostly supported, a filename parameter
just needed to be passed through the cli app.
2016-02-12 22:02:29 -08:00
Neil Lalonde
58610d15a1 FEATURE: export/import topics and categories from one Discourse site to another. (Early-access alpha greenlight. More to do...) 2016-01-26 19:57:54 -05:00
Régis Hanol
96c23d51a2 FIX: don't break the message bus when restoring a backup 2015-08-27 20:02:13 +02:00
Sam
78bd4508d1 Add multisite support to remap task 2015-07-23 14:39:55 +10:00
Régis Hanol
189cb3ff12 FEATURE: move migrate_to_new_scheme into a background job
- new hidden site setting 'migrate_to_new_scheme' (defaults to false)
- new rake tasks to toggle migration to new scheme
- FIX: migrate_to_new_scheme also works with CDN
- PERF: improve perf of the DbHelper.remap method
- REFACTOR: UrlHelper is now a class
2015-06-12 12:07:57 +02:00
Régis Hanol
5504622c1b rename export/import in favor of backup/restore for better consistency 2014-10-10 20:04:07 +02:00
Robin Ward
f2cca140b4 FIX: Don't break out of remap action if there is a DB error. Display it
and continue.
2014-09-08 14:21:46 -04:00
Régis Hanol
925a15c9aa FIX: proper exit status code for backup/restore scripts 2014-08-04 17:55:09 +02:00
Neil Lalonde
78ea81afb6 Revert "Pretend to allow full path to backup files". This breaks our jobs that backup to a full path. 2014-07-22 10:08:59 -04:00
riking
2ad2dee0e9 Pretend to allow full path to backup files 2014-07-15 10:23:24 -07:00
Sam
a5ad2411ef FIX: bypass views 2014-07-14 08:44:26 +10:00
Robin Ward
5b0d8d5ffd Trivial typo 2014-03-17 13:13:05 -04:00
riking
bb634bd4f5 Add request_refresh to script/discourse 2014-03-06 20:26:34 -08:00
Régis Hanol
4c941495e5 FEATURE: add readonly mode CLI 2014-02-21 17:10:53 +01:00
Régis Hanol
0caee99e8b REFACTOR: moved the export.rake task into script/discourse script 2014-02-21 16:17:00 +01:00
Régis Hanol
438f97d8b0 BUGFIX: backup/restore rake tasks weren't working 2014-02-19 15:25:31 +01:00
Régis Hanol
50273ba815 rename site setting to 2014-02-13 13:31:14 -08:00
Régis Hanol
d92c6ece63 fix script/discourse script 2014-02-13 13:31:13 -08:00
Sam
8a15e89d9d better var names 2014-01-31 16:37:05 +11:00
Sam
44dc578ff9 FEATURE: task for global rewrite, used post migration to multisite 2014-01-31 14:53:25 +11:00
Sander Datema
261860fd4b Typo in scripts/discourse 2014-01-19 18:54:49 +01:00
Sam
5a499b586f FEATURE: script/discourse import AND export 2014-01-17 12:33:42 +11:00
Régis Hanol
8a62381268 migration script 2013-11-27 22:05:06 +01:00