Backup Structure

This document describes the backup struct after it has been decrypted and decompressed following the Manual Backup steps.

We recommend to store the backup file as it is, and only extract when restoring.


Single instances are created using mongodump, which generates a single dump file. This tool also compresses the file using gzip.

The mongorestore can handle this file as gzip as well as uncompressed.

Cluster (Replica)

a9s MongoDB backups use a different strategy. It creates a tar copy of the data directory. Meaning that you can untar this file to restore the content into a new MongoDB data directory:

$ tar -xvf <backup-file-name>

This command will generate multiple files.