Enhance Backup Script
I like the new backup function because users are able to access own backups without calling the server admin.
But it has some disadvantages:
- no backup of databases and mails
- needs more space on hard disk for every website
- if the disk crashes, all data will be lost
I suggest the following improvements:
- add options to System / Server Config for a remote FTP backup server (address, username, password)
- enhance backup tab: number of local backups (accessible by the user) / number of remote backups (must be copied by the admin, perhaps by request via ispconfig much later)
- add the backup tab (and functions in backend) to databases and mail domains
- add the backup tab to clients
Why to clients? If there are values set for a client all sites, databases and mail domains without own backup definition should be backed up using this configuration, e.g. by default weekly backup 1 local / 2 remote for every client.
For the backup itself tartarus could be used. It only needs a config file and needs to be called by the ISPConfig cron job. tartarus can backup in zip / gzip / bzip files on local disk, via ftp, ssh and samba (and has some more features) So it has all that is needed for an automated backup on remote filesystems.