mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cold-migrate existing media from an old S3 bucket to the current cloud bucket, one media row at a time (like MigrateLocalS3MediaURL): - Source = --sourceDisk (default s3-old, reads AWS_OLD_*); destination = the current cloud disk (config filesystems.cloud). No .env editing: operators point AWS_* at the new bucket first (restarting workers as usual) so new uploads/downloads land on the new bucket, then run this to backfill old data. - Copies media (+thumbnail) source->destination, verifies by size and by sha256 of the freshly-written destination object (against original_sha256), rewrites cdn_url/optimized_url/thumbnail_url to the destination host, and GCs the source objects (unless --keep-source). Busts caches. - Only touches rows whose cdn_url still points at the source host; idempotent. - --sourceDisk / --limit / --dry-run / --force. - Adds the s3-old disk (AWS_OLD_*) to config/filesystems.php and feature tests. |
4 weeks ago | |
|---|---|---|
| .. | ||
| FollowTest.php | 4 weeks ago | |
| MediaMoveStorageCloudToCloudTest.php | 4 weeks ago | |
| MediaMoveStorageTest.php | 4 weeks ago | |
| MigrateLocalS3MediaUrlTest.php | 4 weeks ago | |
| MuteBlockTest.php | 4 weeks ago | |
| PrivacyTest.php | 4 weeks ago | |
| ProfileCountReconcileTest.php | 4 weeks ago | |
| ReportTest.php | 4 weeks ago | |