This guide provides step-by-step instructions on consolidating and extracting multi-part exported files provided by Rocket.Chat Cloud.
Prerequisites
Ensure you have all the
.tar.gz.partfiles downloaded to the same directory.Use a Unix-based system (Linux, macOS, or Windows Subsystem for Linux) with standard tools like Bash, tar, and gzip installed.
Step-by-step instructions
Verify Checksums (Optional but Recommended):
Compare the provided checksum file with your downloaded parts using:
sha256sum files.tar.gz.part*Ensure all parts are intact before proceeding.
Merge File Parts:
Run the following command to combine all parts into a single
.tgzfile:for i in {1..N}; do cat files.tar.gz.part$i >> consolidated.tgz; doneReplace
Nwith the total number of parts you received.Extract the Consolidated File:
Extract the
.tgzfile using:tar zxvf consolidated.tgzTroubleshooting Extraction Errors:
If you encounter errors, first check the integrity of the archive using:
tar zxvf consolidated.tgzIf the issue persists, verify the integrity of the consolidated file:
bashCopy codegzip -t consolidated.tgz
Common issues and solutions
Checksum Mismatch: Re-download the affected parts and verify checksums again.
Extraction Fails:
Ensure sufficient disk space is available (at least twice the size of the exported data).
Use the
--ignore-zeros(-i) flag if encountering EOF errors.
Missing Tools: Install the required tools using your system's package manager (e.g.,
apt,brew, oryum).
Always use the commands provided above to ensure compatibility with exported Rocket.Chat data.
If issues persists contact support with details about your system environment and errors.