Instruqt Docs
  • 🚩Getting started
    • Overview
    • Setting up
      • Study Room
    • Quickstart
  • 🛤️Tracks
    • Manage tracks
      • Create tracks
      • Edit locally
      • Test tracks
      • Track logs
      • Track time limits
      • Track feedback
      • Developer workflow
      • Track tags
      • Track authors
      • Delete tracks
      • Custom layouts
      • Version control
      • Loading experience
    • Challenges
      • Create challenges
      • Challenge tabs
      • Challenge order
      • Skip challenges
      • Add quizzes
      • Assignment display
      • Assignment editor
    • Share tracks
      • Live Events
        • Instructor tools
      • Track invites
      • Embed tracks
      • Landing pages
  • 🏖️Sandboxes
    • Overview
    • Sandbox hosts
      • Add hosts
      • Custom VM images
      • Custom container images
      • Public images
      • Windows VMs
      • Website service
      • SSL certificates
    • Cloud accounts
      • Securing your cloud accounts
      • Cloud Client
      • AWS accounts
        • AWS Environment Variables
        • AWS Managed Policies
        • AWS IAM Policies
        • AWS SCP Policies
      • Azure subscriptions
        • Azure Environment Variables
        • Azure Roles
        • Azure Resource Providers
      • GCP projects
        • GCP Environment Variables
        • GCP IAM Permissions
    • Lifecycle scripts
      • Scripting overview
      • Track scripts
      • Challenge scripts
      • Example scripts
      • Helper scripts
    • UI Checks
    • Global Sandbox Settings
      • Hot start
      • Sandbox presets
      • Custom resources
      • Cloud services and regions
        • Allowed services and regions
    • Secrets and variables
      • Runtime variables
      • Runtime parameters
      • Secrets
  • ⚙️Settings
    • Integrations
      • Salesforce (Beta)
      • HubSpot (Beta)
      • HubSpot (Using zapier)
      • LTI
      • Version control
        • GitHub
    • Authentication
      • SSO
      • API keys
    • Platform
      • API
      • Webhooks
      • Track limits
  • 💡Reference
    • Feature overview
    • Instruqt CLI
      • Commands
      • Configuration files
      • Assets
    • Instruqt platform
      • Networking
      • Host machine types
      • Quotas and limits
      • Roles and permissions
      • Network access
      • Requirements
  • 🛟Resources
    • Content design tips
    • Advanced use cases
    • Templates
    • FAQ
      • Running Windows Client Hosts on Instruqt
      • Using Cleanup Scripts in SaaS and Cloud Environments
      • Instruqt Regional Configurations and Restrictions
      • Troubleshooting Instruqt CLI Authentication Issues
      • Copy a Track from One Organization to Another via CLI
      • Network Configuration: IP and MAC Address Control
      • Container Troubleshooting in Instruqt
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Resources
  2. FAQ

Copy a Track from One Organization to Another via CLI

If you have multiple Instruqt organizations or teams and you want to copy an Instruqt track from one to another you can do this with the duplicate option per track in the Instruqt UI or you can do so using the CLI. The CLI process involves pulling the track from the source organization, modifying the track's owner in the track.yml file, and then pushing the track to the target organization.

Here is the step-by-step process:

  1. Set the working directory to the source organization by running the following command:

instruqt config set team <source-org>

Replace <source-org> with the name of the source organization.

  1. Pull the track from the source organization:

instruqt track pull <track-name>

Replace <track-name> with the name of the track you want to copy.

  1. Open the track.yml file in a text editor and change the owner field from the source organization to the target organization.

owner: <target-org>

Replace <target-org> with the name of the target organization.

  1. Push the track to the target organization. Make sure you are within the directory structure of the track when you run the following command:

instruqt track push

Please note that the instruqt config set team command is only used for pulling tracks and doesn't impact the pushing of tracks. The organization/team is embedded in the track.yml file under the "owner" field.

PreviousTroubleshooting Instruqt CLI Authentication IssuesNextNetwork Configuration: IP and MAC Address Control

Last updated 10 months ago

Was this helpful?

🛟