Hi Guys, i am using ISPConfig 3.1 and Ubuntu 18.04 Long time before i setup a backupserver. The ssh data changed for this server and now i am looking where i can setup in ISPConfig Servername for Backup Username for backupserver Folder where to put the backup it would be great if you could help me... thanks a lot
That's not a setting in ISPConfig. Either you mounted the backup directory permanently outside of ISPConfig or you used the file /usr/local/ispconfig/server/scripts/backup_dir_mount.sh to mount it dynamically when required.
Hi, thanks for your kind answer. i have the script backup_dir_mount.sh Code: #!/bin/bash sshfs [email protected]:/backups/server4/ /var/backup and i get the following error: Code: root@server4:/usr/local/ispconfig/server/scripts# ./backup_dir_mount.sh fuse: mountpoint is not empty fuse: if you are sure this is safe, use the 'nonempty' mount option root@server4:/usr/local/ispconfig/server/scripts# client_loop: send d do you have any idea whats the problem? thanks again for your kind help
Hi, thanks for answering. Yes that was the problem. Now there is not THIS error message but i have another problem: Code: root@server4:~# sshfs [email protected]:/backups/server4/ /var/backup [email protected]:/backups/server4/: No such file or directory root@server4:~# so i login to the backup server and i can see the directory /backups/server4 Code: [email protected]:~$ ls backups [email protected]:~$ ls backups/ server4 can you help me what is my problem with that? thanks a lot for your kind help always.
Looks like the backups directory is not at root of file system. It is subdirectory of users home directory. Compare the two commands below, the latter one should work. Code: # sshfs [email protected]:/backups/server4/ /var/backup # sshfs [email protected]:backups/server4/ /var/backup
ok that works, but i get another problem. I try to copy me old files to /var/backup which is now the mount of my backup server and i get the following error: Code: root@server4:~# mv /var/backup-old/* /var/backup mv: failed to preserve ownership for '/var/backup/serverfiles/2020-06-28/alldb.gz': Permission denied what is my problem here? thanks again for your help
I do not know. And I do not like guessing games. What you yourself can do is see what are owners and permissions in /var/backup-old/ and /var/backup.
Your backup system seems to be from Schaal @It, why don't you ask Florian how to mount it correctly in ISPConfig, he can probably just give you the needed commands to use his backup system in ISPConfig.
Hi, yes good idea but unfortunately he does not answer my emails. All backups were gone so i need to install all new but he not answer. Maybe i look for other backup space if you can recommend some it would be great. thanks
I run my own backup servers, so I can't recommend you any provider. I'll send Florian an email to see if he has some instructions for you.