You can use our BackupSpace to run ISPConig with this as an external backup space.
ISPConfig offers you the possibility to save the backups directly to an external storage. It makes no sense to back up relevant data for recovery directly on the server, which should be restored in case of any problems.
To do this enable the option “Backup directory is a mount” and create a small shell-script.
If there is no SSH key on your server (/root/.ssh/id_rsa.pub), you must first create a key pair with ssh-keygen:
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
Then create a shell user for your backup space and enter the key from /root/.ssh/id_rsa.pub there.
The script /usr/local/ispconfig/server/scripts/backup_dir_mount.sh is used to mount the external memory before backups. With our backup space you only need two lines:
If you want, you can unmount the space after the backups. Just create the script /usr/local/ispconfig/server/scripts/backup_dir_umount.sh:
Whether you’re using umount or not, it’s up to you.If the backup space is not mounted, ISPConfig will always attempt to mount the storage.This is not only the case with backups, but also when restoring individual backups.