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(fromcryosparc_master/run/) to shared storage, for intended use withcryosparcm 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, becausedatabase backupfails 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:
- The reference recommends
cryosparcm recoveroverbackup/restore. For an instance whose project directories are on shared storage, is a database archive worth keeping at all? What would be lost withrecoveralone (users, lanes, anything else)? - Is the deprecated
cryosparcm backupsafe to keep using in v5, and is there a removal timeline? - Is there a supported way to leave GridFS collections out of a backup? The reference lists
-c/--collectionwithout a description. - 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. - 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