Hey!
I installed Duplicati 2.0 on a VM created by me with CentOS 7 installed in it as backup server.
Then I created another VM as main server on that too I installed CentOS 7.
I want to create a backup of my main server to my backup server how can it be possible please help by providing steps and also suggest me if I’m doing anything wrong
Duplicati isn’t really designed like some other backup products that use a client/server model.
Normally you would install Duplicati on each system you want to back up, and have each system back itself up to a unique location. (Don’t mix backups!)
Having said that, what type of backup of your server VM are you trying to take? Image level? Or file-level inside the VM?
I tried to install Duplicati directly on my server which has CentOS on which I installed CyberPanel on it but I can’t install Apache on it as its showing me this error.
[root@localhost /]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code. See “systemctl status httpd.service” and “journalctl -xe” for details.
There are no agents with Duplicati. As mentioned above, it is designed to be installed directly on the machine you wish to protect. In some cases some people have tried backing up “remote” machines with Duplicati (via UNC path on Windows, for instance), but there are downsides to doing that.
In your situation if you want image level backups you can probably install Duplicati on the hypervisor and have it back up the VM files directly (VMDK, etc - not sure which hypervisor you are using). However, I have no experience with using Duplicati to protect VM files - try searching the forums. At a minimum be sure to do thorough testing and enabling snapshots is probably a requirement.
If you want to back up files within the VM, then you can install Duplicati inside your VM and configure it to protect files that way.
Hopefully you found a solution.
Personally, I would make a script to mount drive of your main server in your VM in ReadOnly (for security reasons) and call that script via Duplicati so the drive is not mounted all the time (for performance reason).
Otherwise you can probably run Duplicati via Docker directly on the host.
Duplicati does not use/require Apache. Not sure if you need it for something else, but not needed for Duplicati.
The canary builds have support for a CIFS, S3, or SSH connection as a source. This is not currently smoothly integrated in the UI, but you can see how to specify it here: