NFS vs Rsync
For quite some time, we've been using a local NFS server mounted on /backup on several hundred cPanel VM's for their backups. This has been working trouble free for quite some time as we have mainly used compressed backups. Over time we've switched VM's over to incremental backups directly to the NFS mount and have been noticing a slow down recently.
Of course when using incremental backups, the shear number of files is much much larger so I am guessing the file comparison between the source and target backup multiplied by X number of VM's and the pruning operations, etc are at the root of the problem. We've tried splitting the VM's between different spindles/RAID groupings but I have not seen much improvement.
My question would there be any speed benefit by using an RSYNC server instead of NFS for the backup operations? I realize that the incremental backup is using RSYNC on the NFS mount but I wasn't sure if there were any efficiencies in the RSYNC protocol that aren't there in NFS?
Best regards,
Eric
-
First of all I want to point out that cPanel has not ever supported NFS with backups or otherwise. This is noted in the backup documentation as follows: [QUOTE="https://docs.cpanel.net/whm/backup/backup-configuration/82/#configure-backup-directory"> We strongly recommend that you do not perform backups to remote filesystems (for example, NFS, CIFS, smbfs, or other types of network drive systems). While you can back up directly to a remote filesystem, cPanel & WHM does not support this configuration. We strongly recommend that you work with a qualified system administrator to manage this custom backup path and avoid potential risks.
I'm not sure I understand what you mean here:My question would there be any speed benefit by using an RSYNC server instead of NFS for the backup operations? I realize that the incremental backup is using RSYNC on the NFS mount but I wasn't sure if there were any efficiencies in the RSYNC protocol that aren't there in NFS?
rsync is a daemon a tool used to perform a specific task where NFS is a filesystem type.0 -
First of all I want to point out that cPanel has not ever supported NFS with backups or otherwise. This is noted in the backup documentation as follows: I'm not sure I understand what you mean here: rsync is a daemon a tool used to perform a specific task where NFS is a filesystem type.
To be more specific, would incremental backups to RSYNC be faster than NFS over the same speed network?0
Please sign in to leave a comment.
Comments
2 comments