I created backup file psql.bak.xz of db, how to restore this file to db straight (without use unxz)?
I used this command to compress file:
pg_dump 2016 | xz > backups/psql.bak.xz
Thanks, Michael.
I created backup file psql.bak.xz of db, how to restore this file to db straight (without use unxz)?
I used this command to compress file:
pg_dump 2016 | xz > backups/psql.bak.xz
Thanks, Michael.
Copyright © 2021 Jogjafile Inc.
You can just uncompress and pipe it to psql