Backup of data of a database

Hi, on top of BalenaOs, I’m running a database. What is the recommended way is backup the data? Is there a way to do that within BalenaCloud?

Hi there, are you running the database on the device?

As a starting point, you will want to make that data on the device is persisted, which is documented here
How you go about backing up your database will depend on which database you are using and how you’ve architected your application. For example, if you are using a postgreSQL database, you could run a cron job in one of your application containers to periodically take a database backup and store it on Amazon S3.

ok got it thanks