Well, you need to create a backup script. Either based on the snippet that @Alfred Bühler posted here, or, for example, as described in the admin manual, and name it something like hub-snapshot.sh.
Then you just need to create a cron job for it. So
@Harald Eilertsen my question regarding shared hosting was to evaluate if this is still a way we can recommand... personally i found a VPS more convenient but there may be a lot of others who more like to host with a shared host... also because a can be less expensive and not that complicated ( if one is used to install thinks like WP and so on... )
we should provide some guidelines for that... so a list with hoster and some hints for installation and daily practice ... automated backups would be part of that.
Then you just need to create a cron job for it. So
crontab -Eand enter the following line, for example
0 2 * * * /path/to/hub-snapshot.sh >> /var/log/hub-snapshot.log 2>&1(for a daily backup at 2 am).
You can also use https://crontab-generator.org/ to generate the correct cron job.
The FreeBSD Handbook also has a decent section on scheduling and cron here: https://docs.freebsd.org/en/books/handbook/config/#cron-periodic
(The periodic system I believe is particular to FreeBSD.)
While there's no need to be an expert to host a Hubzilla server, a bit of basic unix knowledge is very useful :)
we should provide some guidelines for that... so a list with hoster and some hints for installation and daily practice ... automated backups would be part of that.