PeerTube + Backblaze B2

Move video files from object storage to filesystem

Use this script to move video related files (video files, original video file, captions, etc.) from object storage to the PeerTube instance filesystem.

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]

The question is: How does the transfer work? Are the files themselves transferred from the cloud or just links to them? Is the transfer done in bulk or one file at a time? I have 30,000 videos, how will the import of these files be organized?

This script create jobs that PeerTube will execute sequentially. It will download the files from the cloud and store it on the local disk, in specific folders.

Hmm… importing 30,000 videos won’t be an easy task :confused: Is there a way to make it easier?
Another question: My website files are in Bucket A, and the videos are in Bucket B. How do I add them to Bucket B’s configuration? Would adding the following lines to the code:
Import_video_to_site:
bucket_name: ‹ peertube-import ›
be the right solution?