Skip to main content

Tool for cloning data from cloud storage services in a configurable way

Project description

A tool for cloning data from cloud storage providers in a configurable way.

Example config file:

base_path: /base_path
  - name: clone_one_folder
      - src: path/to/remote/folder
        dest: path/to/local/folder
    default: true
  - name: clone_files
      - src: files/file.txt
        dest: remote_files/file_renamed.txt
      - src: files/file2.txt
        dest: remote_files/

The config file is expected to be in the current working directory and named cloud_cloner.yaml. This location can be set with --config-path.

A valid rclone config is expected at ~/.rclone. This location can be set with --rclone-config-path.

Then clone with python -m cloud_cloner clone or python -m cloud_cloner clone clone_one_folder.

See python -m cloud_cloner --help for more options.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloud_cloner-0.3.0.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

cloud_cloner-0.3.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page