Giter VIP home page Giter VIP logo

cloud-drive-migration-using-colab's Introduction

Cloud Drive Migration using Colab

Migration of files from Baidu Yun to Google Drive.

which is fast, and doesn't occupy your local bandwidth.

About

Most ISPs provide quite low, such as 1M, 10M upload bandwidth, compared to 100M, 300M download bandwidth, so even if you've downloaded files from baidu yun using paid SVIP to accelerate, it's painful to upload it to Google Drive.

However, it's fast to transfer file from Google cloud service to Google Drive.

While GCE(Google Cloud's Compute Engine) is paid service, Google Colab is FREE! and colab is much easier to set up.

This solution use Google Colab to migrate your files from Baidu Yun to Google Drive, with the help of a Baidu Yun Python Client bypy.

Usage

Use colab to open migration.ipynb(you can do it just by clicking https://colab.research.google.com/github/jokerkeny/Cloud-Drive-Migration-using-Colab/blob/main/migration.ipynb). Remember use the Google account with Google Drive you want to store

Follow the instructions in the notebook.

Speed limit

The following number is according to my own testing result of this script, including the VIP boosting part

Baidu yun has a download speed limit of 78Kb/s, You could buy some speed booster from baidu (SVIP, day card, or idle time booster, since the drive migration work could be done in several days), normally it would boost the speed to 4 Mb/s(single file on 4Mb/s, multiple files with multiple processes can be fast as 7Mb/s in total)

The network from Colab to Google Drive usually won't be the bottleneck.

Acknowledge

This project can't exist without bypy (https://github.com/houtianze/bypy)

cloud-drive-migration-using-colab's People

Contributors

jokerkeny avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cloud-drive-migration-using-colab's Issues

interrupted transfer can't complete

When the colab is interrupted during the migration, the file would be only transfered partly to Google Drive. When I rerun the code, it won't complete that partial file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.