diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-12-10 00:16:43 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-12-10 00:16:43 +0700 |
commit | c098dec47344303bc00456bfbfc0d769abd8f199 (patch) | |
tree | 709963edcda2d85a5d77ebce4a200ae04fff89cd /docs/administration/CLI_tasks/uploads.md | |
parent | 78299ab18205b0bbaf521640e188a862ca27aa61 (diff) | |
parent | 0d2c13a119302d0d217a7cb61c28a01c620b1b61 (diff) | |
download | pleroma-c098dec47344303bc00456bfbfc0d769abd8f199.tar.gz |
Merge branch 'develop' into feature/custom-runtime-modules
Diffstat (limited to 'docs/administration/CLI_tasks/uploads.md')
-rw-r--r-- | docs/administration/CLI_tasks/uploads.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/administration/CLI_tasks/uploads.md b/docs/administration/CLI_tasks/uploads.md index 71800e341..e36c94c38 100644 --- a/docs/administration/CLI_tasks/uploads.md +++ b/docs/administration/CLI_tasks/uploads.md @@ -1,11 +1,16 @@ # Managing uploads -Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl uploads` and in case of source installs it's `mix pleroma.uploads`. +{! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Migrate uploads from local to remote storage -```sh -$PREFIX migrate_local <target_uploader> [<options>] +```sh tab="OTP" + ./bin/pleroma_ctl uploads migrate_local <target_uploader> [<options>] ``` + +```sh tab="From Source" +mix pleroma.uploads migrate_local <target_uploader> [<options>] +``` + ### Options - `--delete` - delete local uploads after migrating them to the target uploader |