Whether you experience connectivity issues or you are working in offline mode your data is stored safely locally. You can use Neptune CLI (Command Line Interface) to check the synchronization status and synchronize data with Neptune servers.
You can list unsynchronized runs by using status
command:
# List unsynchronized runs in the current directoryneptune status​# List unsynchronized runs in the given pathneptune status --path PATH_TO_DIRECTORY​# Access status command help and examplesneptune status --help
Synchronize local data with Neptune servers with sync
command:
# Synchronize all runs in the current directoryneptune sync​# Synchronize all runs in the given pathneptune sync --path PATH_TO_DIRECTORY​# Synchronize only runs NPT-42 and NPT-43neptune sync -run workspace/project/NPT-42 -run workspace/project/NPT-43​# Synchronise all runs in the current directory# sending offline runs to project "workspace/project"neptune sync -p workspace/project​# Synchronize the offline run a1561719-b425-4000-a65a-b5efb044d6bb# to project "workspace/project"neptune sync -p workspace/project -run offline/a1561719-b425-4000-a65a-b5efb044d6bb​# Access sync command help and examplespython -m neptune.new.cli sync --help
Runs created in offline mode need a specified project where to be uploaded. You can either specify it through --project
parameter or by setting NEPTUNE_PROJECT
environment variable.