There is nothing like too many backups.
And nothing is better than a testable verifiable backup.
With the Implementation OF nethserver 8, We make use of a container based model,
In this new model, for backups, we backup the enire container, which we can restore at a point in time the backup was made.
I saw somwehre in the community someone mentioned something to do with sequential backups, And then i remembered.
PostreSQL comes with a builtin Incremental Backup and Point-inTime Recovery
Now in NEthserver 7, most Modules would utilize the same database server to create and store databases, and it would be easier to just backup the entire database server, and incase of failure for whatever reason, you can not lose your data and files.
In Nethserver 8 on the other hand, an inherent challenge is presented, whereby each module/Application comes with its own database server in the form of a docker container.
MEaning, if a NS8 instance has 10 Applications hosted(which many are there) We also have a situation whereby we have 10 database servers, each with own database and might require to be backed up SMH.
the provided backup and restore utility in NS8 is great, dont get me wrong, but sometimes you just need the backup of the database, and could care less about everything else.
Well, with docker it turns out some ENV could also be critical and worth backing up, Especially the ones that encrypt database data. WHOSH(security but mehn)
So this got me thinking, Alot… and i came accross this utility>
tiredofit/docker-db-backup: Backup multiple database types on a scheduled basis with many customizable options (github.com)
From the outlook, it allows you to backup mutliple databases accorss mutliple docker containers, accross mutliple database systems PGSql, Mysql, MOngoDB and Redis(atleast the ones most NS8 apps use)
I have not gone into great details on the tool, but looking into it, in corelation with the Questions above, that many users might have. I think it might worth looking into by the core dev team, dont you think.
if there is another solution to this conondrum, I am all ears, after all this is a comunity, and everyone is invited to offer their suggestions.
tag @davidep (did not want to tag all dev teams)