13 lines
540 B
Bash
13 lines
540 B
Bash
# -------- Dieses Skript sollte auf dem alten Server ausgeführt werden ------- #
|
|
|
|
./aws/install --install-dir ~/.local/aws-cli --bin-dir ~/.local/bin
|
|
source ~/.bashrc
|
|
|
|
|
|
export AWS_RESPONSE_CHECKSUM_VALIDATION=when_required
|
|
export AWS_REQUEST_CHECKSUM_CALCULATION=when_required
|
|
|
|
|
|
aws s3 sync ./persistent/generated/ s3://ibc-pdfs/ --endpoint-url https://s3-eu-central-1.ionoscloud.com --storage-class STANDARD
|
|
aws s3 sync ./persistent/uploads/ s3://ibc-images/ --endpoint-url https://s3-eu-central-1.ionoscloud.com --storage-class STANDARD
|