@cvachery said in InfluxDB:
Wouldn't it be possible then to backup the folder containing the configuration+backups made by the influxdb tool and not backuping the live data? I didn't have a deep look at how the backup are done by cloudron so maybe it
Right, it's possible. There is no code to make this flow happen and that's what I was getting it 🙂 Currently, the app does not know when Cloudron creates a backup. The app actually keeps running when the backup is being made. We just backup the database and then the /app/data of an app without the app's knowledge. Databases (that we support) have transactions to generate a consistent dump file. Support for specific databases (mysql, redis, mongo, postgres) is part of our backup code/logic and this is why those db backups are safe. There is actually a race between db backup + file system backup . In practice, this has not been a problem because apps usually tend to use one or the other and do not do "transactions"/atomic operations over db+filesystem.