ActivityPub-federated video streaming platform using P2P directly in your web browser
Add doc to move videos to filesystem
Chocobozzzdbb54df6bd7d
diff --git a/support/doc/tools.md b/support/doc/tools.mdindex 8989f52aef..8b38da30cd 100644--- a/support/doc/tools.md+++ b/support/doc/tools.md@@ -245,7 +245,7 @@ cd /var/www/peertube-dockerdocker-compose exec -u peertube peertube npm run create-import-video-file-job -- -v [videoUUID] -i [videoFile]```-### Move video files to object storage+### Move video files from filesystem to object storageUse this script to move all video files or a specific video file to object storage.@@ -271,6 +271,34 @@ cd /var/www/peertube-dockerdocker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-object-storage --all-videos```+### Move video files from object storage to filesystem++**PeerTube >= 6.0**++Use this script to move all video files or a specific video file from object storage to the PeerTube instance filesystem.++```bash+# Basic installation+cd /var/www/peertube/peertube-latest+sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-move-video-storage-job -- --to-file-system -v [videoUUID]++# Docker installation+cd /var/www/peertube-docker+docker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-file-system -v [videoUUID]+```++The script can also move all video files that are not already on the filesystem:++```bash+# Basic installation+cd /var/www/peertube/peertube-latest+sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-move-video-storage-job -- --to-file-system --all-videos++# Docker installation+cd /var/www/peertube-docker+docker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-file-system --all-videos+```+### Generate storyboard**PeerTube >= 6.0**