I'm working on Ubuntu 20.04.2 LTS and ISPConfig 3.2.4. My client is "client2" and my user is "web2". Currently, my backups are into "/var/backup/web2", but i would like to make website backup into website local Backup folder ? Eg, this folder: /var/www/clients/client2/web2/backup I can't find the right options.
The backup is always stored in the global backup directory. To make it available for download in the backup folder of the website, use the option on the backup tab of the website in ispconfig. ISPConfig will then copy over the backup within 1 minute.
Specifically, is it possible to modify (overwrite/overload) the core backup features ? All of this because i want a single ZIP (TAR or RAR) file (Files+Db) under website /backup folder. Yes, I could create my own via bash script, but how can I include it in the automatic ISPConfig procedures?
You can supply a custom mount and unmount script for backups; could what you want to do be done in the post-process (unmount) script? If so that would probably be easier than reworking the integrated backup feature and maintaining patches for each update. On the other hand, maybe your changes would make a good feature contribution and if implemented well would be accepted in the ispconfig code, so you don't have patches to maintain, though right offhand it seems only applicable to systems where the website and database are on the same server. Eg. add a setting in the backup settings to create a single backup file with DB and website files, and only display that setting it the DB and site are on the same server. For such a feature to be accepted upstream, the restore feature would of course have to still work for those backups.
>> You can supply a custom mount and unmount script for backups; could what >> you want to do be done in the post-process (unmount) script? Ok this is acceptable, where can i implement this?