Comment on @Hubzilla Support Forum Mine is running on a shared host. I have SSH and Git a
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
and enter the following line, for example
(for a daily backup at 2 am).
You can also use https://crontab-generator.org/ to generate the correct cron job.
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.
Most likely a shared hosting provider will have something like cpanel or similar management tools installed. Which will make things like scheduling tasks and stuff easier.
Perhaps making some sort of cpanel-integration would be a good investment.
The topic of backups is something that’s relevant to every type of hosting and could also be given its own chapter.