I had to switch the backup-dir for all my ISPconfig servers (Server -> Server config -> Backup directory) to another dir. Old dir was /var/backup-sshfs, sshfs-mounted to cloud-server A, containing all old generations until the switch. New is /var/backup-sshfs2, sshfs-mounted to cloud-server B, starting EMPTY On my master everything is okay: - backups are made - list of backups shows only the new ones On the slaves there seems to be confusion: - ths list of site-backups still contains the "old" ones, which are not visible anymore (because on the old cloud-server A) - no new backups are made Interesting: only web-backups are not working. Mailbox-backups do fine! My guess: because of the 7-day count (e.g.) for one site and 7 OLD backups AND the disability to DELETE these old backups, no new ones are made. Any idea?
well, I forgot to adapt the path mentioned in /usr/local/ispconfig/server/scripts/backup_dir_mount.sh Code: #!/bin/bash if ! mountpoint -q /var/backup-sshfs2; then mount /var/backup-sshfs2; fi .... so maybe that solves the problem? By they way: that script only checks if the backup path is mounted. But isn't the checkbox "Backup directory is a mount?" does not do that anyways? So I could delete my own script above? I remember that once I had to write it, but maybe that's not needed in the meantime?
The script is run before a backup is accessed, so it must contain all commands that are required to access the backups. The checkbox is there to tell ISPConfig that it shall run your mount script.
okay, got that. Thanks! But tonight during the backups the dir was mounted. So why did mail backups work, but website backups not?
Unfortunately the problem still exists. I fixed all the script issues, double checked the paths in the config and the mount dirs etc. I tried: manually deleting all phantom backups that are shown in the backup list but existed only on the old backup-dir changing the number if daily backups, increasing, decreasing ... no effect All this ONLY happing on SOME slaves. NOT on the master, there the backups shown are only those that really exist on the new backup-dir, and new backups are made. I cannot discover any errors or warnings in the system. Any idea?