Coder Social home page Coder Social logo

druva_insync-docker's Introduction

Druva inSync Docker container

A simple Druva inSync container for Docker testing

Please note, this container will not allow full fledged use or access to a Druva inSync instance. This will simply afford you a simple containerized client for testing purposes with your own Druva inSync instance.

Example Usage

docker create \
-e INSYNC_TOKEN="xxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-e INSYNC_MAIL="[email protected]" \
-e INSYNC_USERNAME="User Name" \
-e INSYNC_STORAGE="us-east-1" \
-e INSYNC_PROFILE="Default"
--name=insync \
1activegeek/druva_insync

Environment Variables - with defaults listed

-e INSYNC_ADDRESS="cloud.druva.com"
-e INSYNC_PORT="443"
-e INSYNC_STORAGE=""
-e INSYNC_PROFILE=""
-e INSYNC_USERNAME=""
-e INSYNC_MAIL=""
-e INSYNC_TOKEN=""
-e INSYNC_DOWNLOAD="https://downloads.druva.com/downloads/inSync/Linux/5.9/druva-insync-client_5.9-51251_amd64.deb"
-e USER="druva"
-e HOME="/home/druva/"

Container Setup/Layout Info

There is no need to configure any specific ports to be opened. The way the app operates, it will be opening an outbound only connection to the cloud based servers. Once this persistent connection is made, backups will process as required without any further port openings.

Upon startup, the container will enter the required details into a config file which will be written. Once written, the container will then launch the inSync process in a virtual X session to allow the application to function as though it was installed on an ordinary Debian based desktop OS.

Optionally data can be mounted to locations as desired. The container is setup to run as User: druva, and it's home directory is /home/druva. Depending on how the profile has been configured on the Druva console, will determine what data will be backed up. If changing the default configuration, you may see errors on the console of "misconfigured backup folder" due to the missing directory in the container. Permissions can also cause problems as often known in Docker containers. User druva will likely be running as UID 1000 and GID 1000. If permissions are mapped/matched on the local host it can ease the potential issues. The default backup location of Desktop can be used to mount data using -v /local/path:/home/druva/Desktop.

druva_insync-docker's People

Contributors

1activegeek avatar

Watchers

James Cloos avatar  avatar

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.