You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this module to compress a postgres database backup. This backup is saved as dbBackup.sql and the compressed file I want is db_dump.tar.gz. I passed to the compress source as path to the .sql file and destination as path to the db_dump.tar.gz.
This gets created without any issue, but when I try decompressing it, I get the following:
tar -xvzf archive.tar.gz
.
tar: .: Cannot open: Is a directory
tar: Exiting with failure status due to previous errors
I also tried decompressing using the decompress function by reversing the parameters and still get a similar error.
The text was updated successfully, but these errors were encountered:
The src has to be a folder.
It compresses the whole folder. If there are more files in the folder use ignore option not to include other files in the tar.gz.
I used this module to compress a postgres database backup. This backup is saved as dbBackup.sql and the compressed file I want is db_dump.tar.gz. I passed to the compress source as path to the .sql file and destination as path to the db_dump.tar.gz.
This gets created without any issue, but when I try decompressing it, I get the following:
I also tried decompressing using the decompress function by reversing the parameters and still get a similar error.
The text was updated successfully, but these errors were encountered: