CLI command to extr...
 
Notifications
Clear all

CLI command to extract/read a Zimbra backup 'item' file?

1 Posts
1 Users
0 Reactions
571 Views
 rbsf
(@rbsf)
Posts: 13
Topic starter
 

ZxBackup's "items" appear to be stored as gzip'd files, and can be manually extracted as plain-text readable files.

For example,

cd ~

file /opt/zimbra/backup/zextras/items/zx/zxw...Nmg=
/opt/zimbra/backup/zextras/items/zx/zxw...Nmg=: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)

mv
/opt/zimbra/backup/zextras/items/zx/zxw...Nmg=
~/zxw...Nmg=.gz

gunzip ~/zxw...Nmg=.gz
cat zxw...Nmg=
... plain text readable ...

Is there a Zextras CLI command to do this -- extract and read an item in shell, without touching/disturbing the original -- more simply/directly?


cd ~

file /opt/zimbra/backup/zextras/items/zx/zxw...Nmg=
/opt/zimbra/backup/zextras/items/zx/zxw...Nmg=: gzip compressed data, from FAT filesystem (MS-DOS, OS/2, NT)

mv
/opt/zimbra/backup/zextras/items/zx/zxw...Nmg=
~/zxw...Nmg=.gz

gunzip ~/zxw...Nmg=.gz
cat zxw...Nmg=
... plain text readable ...

Is there a Zextras CLI command to do this -- extract and read an item in shell, without touching/disturbing the original -- more simply/directly?

 
Posted : 12/21/2012 03:52