total rebase
[anni] / docs / administration / CLI_tasks / uploads.md
1 # Managing uploads
2
3 {! backend/administration/CLI_tasks/general_cli_task_info.include !}
4
5 ## Migrate uploads from local to remote storage
6 === "OTP"
7
8     ```sh
9      ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
10     ```
11
12 === "From Source"
13
14     ```sh
15     mix pleroma.uploads migrate_local <target_uploader> [option ...]
16     ```
17
18 ### Options
19 - `--delete` - delete local uploads after migrating them to the target uploader
20
21 A list of available uploaders can be seen in [Configuration Cheat Sheet](../../configuration/cheatsheet.md#pleromaupload)