Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / 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 ```sh tab="OTP"
7 ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
8 ```
9
10 ```sh tab="From Source"
11 mix pleroma.uploads migrate_local <target_uploader> [option ...]
12 ```
13
14 ### Options
15 - `--delete` - delete local uploads after migrating them to the target uploader
16
17 A list of available uploaders can be seen in [Configuration Cheat Sheet](../../configuration/cheatsheet.md#pleromaupload)