Giter Site home page Giter Site logo

project-transfer's Introduction

project-transfer

Bash script useful for transferring projects from one Domino instance to another. The aim of the script is to help in selective migrations between major versions where other tools might fall short.

Usage

The easiest way to use this tool is to build the Docker image either locally or as a Domino environment. If you are using a workspace, you will need to copy the project_transfer.sh file into the project.

I recommend hard coding the old and new customer Domino urls, for better usability, eg.

#old_domino_url=${1:?"Old Domino URL is required"} && shift 1
#new_domino_url=${1:?"New Domino URL is required"} && shift 1
old_domino_url="https://vip.domino.tech"
new_domino_url="https://field.cs.domino.tech"

Once you have the image/environment, you'll need access to the terminal of the container.
Then you'll want to run these commands:

# You may need to make the script executable
chmod +x project_transfer.sh

# Start transferring projects to the new domino (without hardcoded urls)
./project_transfer.sh https://vip.domino.tech https://field.cs.domino.tech test_project_1 test_project_2 test_project_3

# Start transferring projects to the new domino (with hardcoded urls)
./project_transfer.sh test_project_1 test_project_2 test_project_3

# Start transferring projects (as an admin) for other users
# The project will be uploaded under the admin's account, transfer ownership back to the original user 
./project_transfer.sh linus_tarvolds/test_project_1 jeff_bezos/test_project_2

Pitfalls and Workarounds

SSO Login

If SSO is used for a Domino instance, then when the script presents the user with a login, they will need to use their API key instead of their password.

Self-Signed Certificates

Some Domino instances use self-signed certificates for SSL. In this event, you'll need to download and add the certs to the Java TrustStore that the CLI uses.
An example to come later...

project-transfer's People

Contributors

caidanw avatar

Watchers

 avatar  avatar  avatar  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.