Uploading offline data

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.

Checking synchronization status

You can list unsynchronized runs by using status command:

# List unsynchronized runs in the current directory
neptune status
# List unsynchronized runs in the given path
neptune status --path PATH_TO_DIRECTORY
# Access status command help and examples
neptune status --help

Synchronizing data with Neptune servers

Synchronize local data with Neptune servers with sync command:

# Synchronize all runs in the current directory
neptune sync
# Synchronize all runs in the given path
neptune sync --path PATH_TO_DIRECTORY
# Synchronize only runs NPT-42 and NPT-43
neptune 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 examples
python -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.