Hello, I think it's a good idea implement the option to backup all data to another server remotely (FTP, OneDrive, Google Drive, Dropbox, etc...).
No, it won't be on the server when you mount an FTP, NFS, SMB or any other kind of network drive share.
ISPConfig backs up to a directory, which by default is usually on a local filesystem/device. To store the backups on a remote server/service, you create a script which mounts the remote server/service on the directory where your backups are made, and create another script which unmounts that directory, then enable the server config option for the backup directory being a mount point. The specific commands needed depends on what type of remote mount you are setting up. There have been examples posted to the forums here, or see the manual.
@till on a multi-server setup if I mount the /var/backup to remote storage would it save all backups there from all servers (email, web, db)? Of course, I will have to enable the backup option for all Sites. Does it need to enable backup from elsewhere?
The directory path is configured for each server, and any mounts (or scripts to mount/unmount) need to be configured for each server. Note there are security considerations in sharing a backup location between servers (ie. you probably want to ensure that the backups made by one server are not readable by other servers).
@Taleman I'm missing something. I've enabled the backups and nothing is saved in controlpanel server. All the backups are saved on each server individually under their /var/backup and not on the controlpanel server.
I didn't recall exactly host multi-server backups would be restored so took a few minutes to test. The backups are of course performed by the server where the data actually lives, so eg. I had a domain with mail_domain.domain_id = 5, and a mailbox with mail_user.mailuser_id = 10 in that domain set to backup. I ran my "mount" script to access my remote storage, and I have a backup file of /var/my_backup_dir/mail5/mail10_2020-09-21_00-04.zip which contains the user's "homedir" on the mail server (all files in /var/vmail/domain.com/username/ .. you will have username/ as the top level of the backup zip file). I'm about 98% sure (but you might confirm): backups are placed in folders with non-conflicting names, eg. "mail5" for mail_domain id 5, web20 for web_domain id 20, so you could have them all in on the same shared storage. Note that pertains to 3.1, I did not test 3.2beta in this regard.