XOA Delta Backup rename files?
-
Hello XCP-ng community,
is there a way to change the naming of the created backupfiles of the delta backup?
I want to store a copy of the backupfiles on a cloud server for increased safety reasons.The upload is done by rsync. Now I have the problem that the file with the fullbackup changes name every day. Rsync would upload the new fullbackup almost completely, but that is not necessary, because the fullback is already on the server (despited of the merged bytes).
So I have to manually (scripted) change the name of the backup on the cloudserver to fit the new name of the new fullbackp, so that rsync wont upload the new merged file completely new instead of an delta upload.
Is there any way to change the backupnames to static names? This would help to upload files with rsync. Or do you guys have other ideas of doing this.
Thank you, and have a nice day
dmartini1337 -
It's safer to use "multi remote" capability of XO, your backup will be streamed at both locations at the same time.
Rsync can't be really useful in delta case, because it's a forever forward incremental, ie merging the oldest delta into the full.
Also it's normal that the full name changes, because its content is also changing.
-
Hello olivierlambert,
thank you for your response. This could also be an option, but I have to make sure that the upload is encrypted. Is there any way of an NFS encryption within XOA?
A VPN-Connection could be another alternative to encrypt the transfer but is there any possibility to do it with XOA? Since now I always encrypt with ssh an ssh-tunnels, is it also possible with nfs?
Thank you and have a nice day,
dmartini1337*Edit: Do I have to make a whole new backup job, or can I add the additional remote to the existing job?
-
You can add extra remote to an existing job, but I think it will re-create some full then (@julien-f might know better than me)
Regarding the encrypted transport, a VPN might be the best solution (this way, your NFS host is only listening on the VPN interface, which is more secure).
-
@olivierlambert
One question to the additional added resource. I have added my cloudbackup server via VPN and NFS share to XOA. This works well, but I see that the local backup on the NAS is throttled down to the speed of the VPN upload tunneln. Is this behaviour correct?You know from the other Post, that I have struggels with the "cloudbackup" server. So if the transfer to the VPN-NFS share is interrupted also the transfer to the local NAS fails.
Is it possible to add two daily (or every second day alternating) delta backup-jobs for a single vm? One saves the backup to local NAS and the other one to the vpn nfs share? Will the chains be consistent?
Thank you for your advice,
dmartini1337