New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to speed up mkbackup to cifs share? (getting less than 900KBps w/gzip) #1333
Comments
Well CIFS ... Doing some backups over CIFS gave me (from one virtual machine to another) ~3MB/s. Maybe you have some curious antivirus/firewall/other type of security Why are your OS backups over 200GB ? V. |
@jiphen Regarding BACKUP_URL=cifs:// I am not at all a CIFS user but as far as I see mount_url() { ... (cifs) if [ x"$options" = x"$defaultoptions" ];then # defaultoptions contains noatime which is not valid for cifs (issue #752) mount_cmd="mount $v -o rw,guest //$(url_host $url)$(url_path $url) $mountpoint" else mount_cmd="mount $v -o $options //$(url_host $url)$(url_path $url) $mountpoint" fi ;; Perhaps you could somehow tweak that via special mount options Regarding "backups are around 200+GB": In general regarding huge backups see In particular regarding how to split huge backups In general regarding issues with the backup: Relax-and-Recover is meant as disaster recovery tool Relax-and-Recover is neither a backup software nor a |
I think the question is sufficiently answered @jiphen |
Hi,
I've been able to use mkbackup to store our backups onto a data domain cifs share but its been painfully slow, typically around 700 KBps. These backups are around 200+GB and its taken over 4 days to archive these backups to the share. I have a couple SLES 12 SP1/2 machines that act the same.
I have added the REAR_INITRD_COMPRESSION=fast which did help a little bit, maybe ~100KBps but still no where near an acceptable timeframe.
I have also added the BACKUP_PROG_COMPRESS_OPTIONS=( -I 'gzip -1 -n -c' ) which didn't have any effect on the speed.
Any other thoughts on how to speed up backups to a cifs share with gzip?
rear version (/usr/sbin/rear -V):
Relax-and-recover 2.00 / Git
OS version (cat /etc/rear/os.conf):
OS_VENDOR=SUSE_LINUX
OS_VERSION=12
rear configuration files (cat /etc/rear/local.conf):
OUTPUT=ISO
OUTPUT_PREFIX='rear-suse1'
BACKUP=NETFS
BACKUP_OPTIONS=cred=/etc/rear/login.cifs
BACKUP_URL=cifs://IP-ADDR/DDServers/
ISO_MKISOFS_BIN=/usr/bin/ebiso
NETFS_KEEP_OLD_BACKUP_COPY=yes
REAR_INITRD_COMPRESSION=fast
REQUIRED_PROGS=( "${REQUIRED_PROGS[@]}" snapper chattr lsattr )
COPY_AS_IS=( "${COPY_AS_IS[@]}" /usr/lib/snapper/installation-helper /etc/snapper/config-templates/default )
BACKUP_PROG_INCLUDE=( '/var/tmp/' '/srv/' '/var/lib/pgsql/' '/var/spool/' '/var/lib/libvirt/images/' '/var/opt/' '/tmp/' '/var/lib/named/' '/var/log/' '/boot/grub2/i386/' '/var/lib/mariadb/' '/home/' '/var/lib/mailman/' '/opt/' '/usr/local/' '/boot/grub2/x86_64/' )
Are you using legacy BIOS or UEFI boot?
UEFI
The text was updated successfully, but these errors were encountered: