ISPConfig Backup-Space remote

ISPConfig Backup-Space

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/, 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/

Then create a shell user for your backup space and enter the key from /root/.ssh/ there.


The script /usr/local/ispconfig/server/scripts/ is used to mount the external memory before backups. With our backup space you only need two lines:

sshfs /var/backup

Finally, set the right permissions for the script:

chown root.root /usr/local/ispconfig/server/scripts/
chmod 700 /usr/local/ispconfig/server/scripts/

If you want, you can unmount the space after the backups. Just create the script /usr/local/ispconfig/server/scripts/

umount /var/backup

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.