/usr/local/ispconfig/server/scripts/backup_dir_umount.sh: Code: #!/bin/bash umount /var/backup # or whatever your path is and set the same permissions as for the mount-file
Thanks Florian. The problem in my case is that MySQL backups are not generating at all. Mounted or not the directory doesn't produce anything. How on earth I can troubleshoot this? Is it any file that logs something when I hit to create manual the database so I can look for any info?
I'm not sure I follow you. What do you mean to assign a website to the database? Example: I've added a client with backup enabled every X days. There is a web site on that client with DB user/db and assigned to it. Web backups are creating fine but no DB backups. Even when I hit manually to get a DB backup apart from the message that is running nothing is happening.
When I run manually the backup from the terminal I get no errors but also no DB files under backup: Code: root@web2:~# php /usr/local/ispconfig/server/backup-now.php --id=21 --type=mysql Making backup of website id=21, type=mysql, please wait... All operations finished, status success. The above runs only if I do it within the webserver that the DB/site is hosted. If I run the same from the DB server I get: ERROR - Failed to make backup of type mysql, because no information present about requested domain id 21 All operations finished, status failed.
Which table exactly Thom? I had a quick look on the clients table and on both DB servers it seems to be only the accounts that are on the DB1 server; no client ids at all that should exist on db2.
web_backup, web_database and web_domain. If you share any content, make sure to remove sensitive info.
web_backup is empty. web_database has 4 entries; the proper ones like my DBs on that server web_domain is also empty If you need the content of the web_database table please let me know.
Thanks. I think the problem is that the web_domain table is empty, while the backup scripts expects the domain info to be there. It is normal that the web_domain table is empty, so not a error on your setup. This is the GitLab issue: https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/5867 I will ping Marius there to discuss what's the best thing to do.