OCI drive, available from home

OCI Drive

... use your storage with Oracle Object Store

Quick Start

Make sure you have the Object Storage, bucket and you know the compartment id where the storage is configured and also have access there.

Create your OCI configuration, for more details refer to:

https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm

mkdir -p "$HOME/.oci"
cat <<EOF > "$HOME/.oci/config"
[DEFAULT]
user=ocid1.user.oc1..XXXX<Your USER ID>XXXXXX
fingerprint=YY:OO:UU:RR: :FF:II:NN:GG:EE:RR:PP:RR:II:NN:TT
tenancy=ocid1.tenancy.oc1..XXXXX<USER TENANCY>XXXXX
region=<REGION> # Example: us-phoenix-1
key_file=~/.oci/oci_api_key.pem
EOF

Copy your KEY into $HOME/.oci/oci_api_key.pem.

Export variables:

export OCI_DRIVE_COMPARTMENT_ID="ocid1.compartment.oc1..<your bucket comparmtment ocid>" 
export OCI_DRIVE_BUCKET_NAME="<bucket name>" # example: images
export OCI_DRIVE_LOCAL_FS="<localfs storage>" # example /home/bob/ObjectStore
export OCI_DRIVE_ID="<id>", #example marynek, needed, but comes useful when multiple drives ran on the same machine

Execute for your architecture:

./ocidrive-linux-amd64

Windows Instructions

  1. Make the variables above as user environment variables: Settings > System > Advanced > Envinroment, Add user variable
  2. Use full paths inc config, e.g. replace ~/.oci/config with C:\Users\micha\.oci\config
  3. Make shortcut from the ocidrive-windows-amd64.exe, Winkey+R, enter shell:startup and copy the shortcut into the window

Binaries

Under build directory you can find the latest binaries.

Issues

  • when changing the local fs directory, please either remove the $HOME/.oci/id/* files or move the whole contents of the directory, otherwise the remote directory will be wiped by the empty content of the new directory
  • for sync only size is compared, the file is synced when the size differs
  • empty directories are removed from the local file system immediately when found
  • diffs from last and current snapshots might not work properly in case they are deleted
  • when context timeout deadline is exceeded the file is not upload/downloaded to/from storage
Similar Resources

HomeRaid aim to be the raid solutions for budget home servers.

HomeRaid HomeRaid aim to be the raid solutions for budget home servers. The project goals are: Providing an easy to expand raid like solution, new dis

Jan 8, 2022

k8s applications at my home (on arm64 devices e.g nvidia jet son nano)

k8s applications at my home (on arm64 devices e.g nvidia jet son nano)

Oct 9, 2022

☁ 🏠 ☁ Fluff, Happy Little Clouds at Home

Update: After reading more about the libvirt project, kcli (python), and virt-lightning (also python) projects I'm going to take a break from fluff at least until the Beginner Boost content is finished and I've completed my K8S certificaitons.

Oct 3, 2022

You drive the heart of a little creature called: Musshi.

You drive the heart of a little creature called: Musshi.

Musshi's Heart You drive the heart oh a little creature called: Musshi. Developed for the 50th Ludum Dare Game Jam: Delay The Inevitable Goal Every Mu

Dec 20, 2022

Asynchronously control the different roles available in the kubernetes cluster

RBAC audit Introduction This tool allows you to asynchronously control the different roles available in the kubernetes cluster. These audits are enter

Oct 19, 2021

A set of components that can be composed into a highly available metric system with unlimited storage capacity

A set of components that can be composed into a highly available metric system with unlimited storage capacity

Overview Thanos is a set of components that can be composed into a highly available metric system with unlimited storage capacity, which can be added

Oct 20, 2021

PolarDB Stack is a DBaaS implementation for PolarDB-for-Postgres, as an operator creates and manages PolarDB/PostgreSQL clusters running in Kubernetes. It provides re-construct, failover swtich-over, scale up/out, high-available capabilities for each clusters.

PolarDB Stack is a DBaaS implementation for PolarDB-for-Postgres, as an operator creates and manages PolarDB/PostgreSQL clusters running in Kubernetes. It provides re-construct, failover swtich-over, scale up/out, high-available capabilities for each clusters.

PolarDB Stack开源版生命周期 1 系统概述 PolarDB是阿里云自研的云原生关系型数据库,采用了基于Shared-Storage的存储计算分离架构。数据库由传统的Share-Nothing,转变成了Shared-Storage架构。由原来的N份计算+N份存储,转变成了N份计算+1份存储

Nov 8, 2022

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.

Grafana Mimir Grafana Mimir is an open source software project that provides a scalable long-term storage for Prometheus. Some of the core strengths o

Jan 3, 2023

The OCI Service Operator for Kubernetes (OSOK) makes it easy to connect and manage OCI services from a cloud native application running in a Kubernetes environment.

OCI Service Operator for Kubernetes Introduction The OCI Service Operator for Kubernetes (OSOK) makes it easy to create, manage, and connect to Oracle

Sep 27, 2022

An Oracle Cloud (OCI) Pulumi resource package, providing multi-language access to OCI

Oracle Cloud Infrastructure Resource Provider The Oracle Cloud Infrastructure (OCI) Resource Provider lets you manage OCI resources. Installing This p

Dec 2, 2022

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Yandex Files

Website | Documentation | Download | Contributing | Changelog | Installation | Forum Rclone Rclone ("rsync for cloud storage") is a command-line progr

Jan 9, 2023

Andrews-monitor - A Go program to monitor when times were available to order for Brown's Andrews dining hall. Used during the portion of the pandemic when the dining hall was only available for online order.

Andrews Dining Hall Monitor A Go program to monitor when times were available to order for Brown's Andrews dining hall. Used during the portion of the

Jan 1, 2022

Vilicus is an open source tool that orchestrates security scans of container images(docker/oci) and centralizes all results into a database for further analysis and metrics.

Vilicus is an open source tool that orchestrates security scans of container images(docker/oci) and centralizes all results into a database for further analysis and metrics.

Vilicus Table of Contents Overview How does it work? Architecture Development Run deployment manually Usage Example of analysis Overview Vilicus is an

Dec 6, 2022

Podman: A tool for managing OCI containers and pods

Podman: A tool for managing OCI containers and pods Podman (the POD MANager) is a tool for managing containers and images, volumes mounted into those

Jan 1, 2023

A tool that facilitates building OCI images

A tool that facilitates building OCI images

Buildah - a tool that facilitates building Open Container Initiative (OCI) container images The Buildah package provides a command line tool that can

Jan 3, 2023

OCI Image Encryption Package

imgcrypt image encryption library and command line tool Project imgcrypt is a non-core subproject of containerd. The imgcrypt library provides API exe

Jan 5, 2023

OCI Registry As Storage

 OCI Registry As Storage

OCI Registry As Storage 🚧 This project is currently under active development. The API may and will change incompatibly from one commit to another. 🚧

Jan 4, 2023

Handy little CLI for interacting with OCI data

oci-tool Handy little CLI for interacting with OCI data Installation go get github.com/csweichel/oci-tool I use Gitpod for developing this tool; you s

May 17, 2022

OCI transport plugin for apt-get (i.e., apt-get over ghcr.io)

apt-transport-oci: OCI transport plugin for apt-get (i.e., apt-get over ghcr.io) apt-transport-oci is an apt-get plugin to support distributing *.deb

Nov 1, 2022
Comments
  • Support big files that don't fit into the default context

    Support big files that don't fit into the default context

    create the following channels for file upload

    • context.Background(default): tries to upload everything, if file exceeds the context timeout
    • context with 5mins timeout: same functionality as above
    • context with 10mins timeout
An Oracle Cloud (OCI) Pulumi resource package, providing multi-language access to OCI

Oracle Cloud Infrastructure Resource Provider The Oracle Cloud Infrastructure (OCI) Resource Provider lets you manage OCI resources. Installing This p

Dec 2, 2022
Andrews-monitor - A Go program to monitor when times were available to order for Brown's Andrews dining hall. Used during the portion of the pandemic when the dining hall was only available for online order.

Andrews Dining Hall Monitor A Go program to monitor when times were available to order for Brown's Andrews dining hall. Used during the portion of the

Jan 1, 2022
Vilicus is an open source tool that orchestrates security scans of container images(docker/oci) and centralizes all results into a database for further analysis and metrics.
Vilicus is an open source tool that orchestrates security scans of container images(docker/oci) and centralizes all results into a database for further analysis and metrics.

Vilicus Table of Contents Overview How does it work? Architecture Development Run deployment manually Usage Example of analysis Overview Vilicus is an

Dec 6, 2022
OCI Image Encryption Package

imgcrypt image encryption library and command line tool Project imgcrypt is a non-core subproject of containerd. The imgcrypt library provides API exe

Jan 5, 2023
OCI transport plugin for apt-get (i.e., apt-get over ghcr.io)

apt-transport-oci: OCI transport plugin for apt-get (i.e., apt-get over ghcr.io) apt-transport-oci is an apt-get plugin to support distributing *.deb

Nov 1, 2022
Simple, rootless, "FROM scratch" OCI image builder

zeroimage zeroimage some-program is like building the following Docker image: FROM scratch COPY some-program /some-program ENTRYPOINT ["/some-program"

Jun 26, 2022
Executes an OCI image using firecracker.

oci-image-executor Executes an OCI image using Firecracker. Logs from the executed process (both stdout and stderr) are sent to stdout. Logs from the

Dec 28, 2022
Docker for Your ML/DL Models Based on OCI Artifacts
Docker for Your ML/DL Models Based on OCI Artifacts

English | 中文 ORMB is an open-source model registry to manage machine learning model. ORMB helps you manage your Machine Learning/Deep Learning models

Dec 30, 2022
Web gateway for OCI artifacts
Web gateway for OCI artifacts

Containerbay Web gateway for OCI artifacts Container images gateway browser and indexer Website static server - Reverse Container image browser Contai

Jan 10, 2022
oci-ccm custom build for both arm64 and amd64

OCI Cloud Controller Manager (CCM) oci-cloud-controller-manager is a Kubernetes Cloud Controller Manager implementation (or out-of-tree cloud-provider

Jan 18, 2022