Open gbbirkisson opened 3 years ago
@gbbirkisson You have set environment variables, right?
Yes I have.
All dump operations use this function ensureNameFlag
:
And that function never calls the remote server:
It tries to read some local directories that are not present instead of calling the remote XP server.
$ enonic dump ls Error reading dumps folder: open data/dump: no such file or directory
XP remote API simply does not have list command cuz there is no way for it can list local dump files. So CLI is just being clever and just scans the local folder for previous dumps.
It tries to read some local directories that are not present instead of calling the remote XP server.