Local Filesystem
Configuration
./LakeXpress config create -a credentials.json --lxdb_auth_id lxdb_mssql \
--source_db_auth_id source_postgres \
--output_dir /data/exports
Relative paths
A relative --output_dir (for example ./exports) is resolved against the directory where you run config create, and the absolute path is saved in the sync configuration. This requires LakeXpress 0.4.9 or later: earlier versions resolved relative paths from the FastBCP engine directory, so use an absolute path with them.
Directory Structure
output_dir/
└── schema_name/
└── table_name/
├── part-00000.parquet
├── part-00001.parquet
└── ...
With --sub_path staging/temp:
exports/
└── staging/
└── temp/
└── schema_name/
└── table_name/
├── part-00000.parquet
└── ...
Permissions
The user running LakeXpress needs write access to the output directory, sufficient disk space, and the ability to create subdirectories.
Troubleshooting
| Problem | Solution |
|---|---|
| Permission denied | chmod 755 /path/to/output_dir. Ensure parent directories exist. |