Websoft9 / websoft9

Applications self-hosting and DevOps platform for running open source, web-based linux Panel of lite PaaS
https://www.websoft9.com
Other
2.21k stars 335 forks source link

migrate oss artifact from azure blob containers to cloudflare r2 for ¥150 #530

Closed qiaofeng1227 closed 1 month ago

qiaofeng1227 commented 2 months ago
  1. azure blob address:https://w9artifact.blob.core.windows.net

  2. cloudflare r2 address: https://artifact.websoft9.com

  3. directory (cloudflare r2 is the same) image image image

  4. secret key sending by other means

  5. use rc clone

yuanssssss commented 1 month ago
  1. install the rclone

    sudo -v ; curl https://rclone.org/install.sh | sudo bash
  2. use the rclone config to config the azureblob and the cloudflare r2, you can use the rclone rcd --rc-web-gui to check the config, if succuess, you can find the buket derecotory on Explorer. such as this. image

  3. use the rclone copy to migrate from source to distination,you can run this command in a tmux.

    rclone copy source:sourcepath dest:destpath

    for example,

    rclone copy azure:/dev cloudflare:/artifact/dev
chendelin1982 commented 1 month ago

solved