cli icon indicating copy to clipboard operation
cli copied to clipboard

Gzip and file options compatibilty

Open apsylone opened this issue 11 months ago • 3 comments

Hi,

I've tried to make workign GZip and file options working together, but it seems that gzip force the filename and we cannot pass it to the command db:dump.

Could you confirm ?

Thanks for any help,

apsylone avatar Feb 03 '25 18:02 apsylone

Hi, I'm not sure what you mean.

If you add --gzip to db:dump, then the default filename has '.gz' added. But you should be able to override this with the --file option, e.g.

platform db:dump --gzip --file my_custom_filename_without_extension

pjcdawkins avatar Feb 03 '25 21:02 pjcdawkins

I've tried the --file option with the --gzip ones, but the filename isn't taken in consideration.

apsylone avatar Feb 07 '25 14:02 apsylone

@apsylone May I look at that in more detail- what's the command you're using, and result you get / expect? (redact any private information if responding here - or feel free to submit a ticket)

pjcdawkins avatar Feb 07 '25 15:02 pjcdawkins