Backing up a ~1.2 TB v5 database: can we rely on `recover` plus instance config exports, and is the size expected?

Hi all,

We run one production v5.0.7 master with project directories on shared GPFS storage. I am designing the backups and have just deployed a solution that is functioning as expected and producing what seem to be viable archives. I am in the process of testing the DB restore process (on a dev/redundant cryo host) using he documented process from CryoSPARC and would like to check that our approach matches what CryoSPARC recommends, and ask about the size of the database - before proceeding - > (Related bug report: [25553].)


What We Do Now:

  • Nightly: a copy of the newest hourly cryosparc_instance_config_*.tar (from cryosparc_master/run/) to shared storage, for intended use with cryosparcm recover, as the instance recovery guide suggests.
  • Nightly: a database archive written straight to shared storage with cryosparcm backup --dir=<dir>. This is the deprecated alias, because database backup fails on our install (see bug report 25553). Only the three newest archives are kept, because of their size.

Size:

  • The archive is about 1.2 TB: 1,195,983,207,052 bytes on Oct 20 and 1,209,636,918,618 bytes on Nov 4 (about 14 GB of growth in 15 days - which is to be expected as the server is being used every day in production).
  • A dump takes about 33 minutes to shared storage and ends with meteor.fs.chunks, about 28.6 million documents.

Questions:

  1. The reference recommends cryosparcm recover over backup/restore. For an instance whose project directories are on shared storage, is a database archive worth keeping at all? What would be lost with recover alone (users, lanes, anything else)?
  2. Is the deprecated cryosparcm backup safe to keep using in v5, and is there a removal timeline?
  3. Is there a supported way to leave GridFS collections out of a backup? The reference lists -c/--collection without a description.
  4. Is a database of this size expected for a facility instance, what dominates it, and is there a supported way to reduce it? We have not tried cryosparcm database compact.
  5. The reference says a backup affects the performance of the running database. Is there guidance for scheduling or throttling a 30-minute dump on a busy instance?

As always, I can provide more information or logs if needed - thank you so much!!

  • JB