Skip to content

JavierPoduje/foris_dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foris Dumper

Import and export remote and local scenarios from DarwinEd.

Dependencies

  1. Rust.
  2. Foris' Darwin.
  3. ssh connection to DarwinEd.

Initial setup

Copy and fill the .env file:

cp env.example .env

Copy and fill the hosts.json file:

cp hosts.example.json hosts.json

Use

cargo run -- --client <my-client> --action <my-action> <options>

Examples

  • Import tags:
cargo run -- --client some_client --action tags
  • Dump remote scenario using db_name and import it in your local Darwin:
cargo run -- --client some_client --action scenarios --db_name some_scenario
  • Import remote scenario using db_name without creating the dump:
cargo run -- --client some_client --action scenarios --db_name some_scenario --skip_dump_creation

Descriptions

Actions Description Ordinality
client
Name of the source client
required
action
Action to execute (options: scenarios, tags)
required
db_name
Scenario to dump (only for scenarios action)
required
skip_dump_creation
Skip the creation of the dump
optional
skip_insertion
Skip the insertion process after the dump creation
optional

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages