Backup copies for database is the same as for websites

Currently there is just the option to set backup_copies for web and database to the same value.

As a consequence a reference to web_domains and the backup settings beyond the preffered compression

method is beeing created which can be easily mixed up in code like it happened in one sql join already.

I do see a valid reason why there might be no need to keep a lot of database copies for some databases but

more for others. And again, space constraints might be a reason or just no need to keep them as long around

as web files.

This would also mean another option to chose for databases. Which make it 2 options for backup.

Which I thik is still acceptable before adding a tab section like in the web interface.

On the other hand, I am thinking possible database replication feature and with it comes a few

more ways of how to create and handle backups ; but I guess this is nothing coming too soon.

So this is about:

  • Have a visible option for the amount of backup_copies per database instead of one setting for web and all databases.