Description
Similar to cbcollect_info, would be useful if the ZIP archive contains a subdirectory so that it can be extracted cleanly/easily.
Also, can we avoid using absolute paths:
$ unzip -l collectinfo-2018-07-19t123424-cbbackupmgr.zip
|
Archive: collectinfo-2018-07-19t123424-cbbackupmgr.zip
|
Length Date Time Name
|
--------- ---------- ----- ----
|
1185 00-00-1980 00:00 archive_list.txt
|
44443321 00-00-1980 00:00 /logs/backup.log
|
397 00-00-1980 00:00 /cluster/backup-meta.json
|
These result in warnings during extraction:
$ unzip -d collectinfo-2018-07-19t123424-cbbackupmgr collectinfo-2018-07-19t123424-cbbackupmgr.zip
|
Archive: collectinfo-2018-07-19t123424-cbbackupmgr.zip
|
inflating: collectinfo-2018-07-19t123424-cbbackupmgr/archive_list.txt
|
warning: stripped absolute path spec from /logs/backup.log
|
inflating: collectinfo-2018-07-19t123424-cbbackupmgr/logs/backup.log
|
warning: stripped absolute path spec from /cluster/backup-meta.json
|
inflating: collectinfo-2018-07-19t123424-cbbackupmgr/cluster/backup-meta.json
|
Attachments
Issue Links
- is duplicated by
-
MB-30539 cbbackupmgr collect-logs - include archive name
- Closed