You are not logged in.
Pages: 1
I'm using tar+gpg to automate encrypted backups creation and making those works fine but restoring bothers me a bit.
I create these with:
tar -czf - /home/user/.packages | gpg -e -r user -o packages.tgz.enc
When i try to decrypt/restore these with:
gpg -o packages.tgz -d packages.tgz.enc | tar xzf -
I get:
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
But archives decrypted and decompressed just fine.
Not sure what's the deal as this works just fine on FreeBSD.
Any suggestions?
Last edited by pentago (2014-08-26 11:57:06)
Offline
Offline
You're right.
It should've been:
gpg -d packages.tgz.enc | tar -xzf -
Blindness.
Thanks
Offline
Pages: 1