Slow Backup: How to Speed Up

CloudBerry Backup is designed to provide really rapid backup speed but in some cases backup can be slow. What to do to speed up the backup – that is the topic of this article.

Firewalls and Antivirus Programs

Most users of Windows OS keep their firewalls and antivirus programs active. In some cases firewalls and antivirus programs can become the reason of low backup speed.

Firewalls and antivirus programs can block unknown applications, limit bandwidth and prevent long transfers for them. That means that both of them - firewalls and antivirus programs can lower the speed of backup.

To avoid speed issues related to firewall and antivirus activity, please make sure following executable files are included into the list of trusted applications in your firewall and antivirus settings:

  • CBBackupPlan.exe,
  • CloudBerry Online Backup.exe (or CloudBerry Backup Server Edition.exe, CloudBerry Backup for MS SQL Server.exe, CloudBerry Backup Enterprise Edition.exe, CloudBerry Backup Bare Metal Edition.exe, CloudBerry Backup for MS Exchange Server.exe)
  • Cloud.Backup.Scheduler.exe,
  • cbb.exe

Or you can try to turn off all firewalls and antivirus programs on your computer before each run of backup plan if it is an option for you.

Multithreading

CloudBerry Backup by the default uses multiple threads with each backup plan. In most cases it helps to speed things up, meanwhile multithreading also can be the reason of slow backup.

Some Internet providers support unlimited thread number but some do not. If your provider has limitations (declared or hidden) on number of connections, you may face with a slow backup speed as a result. If you got your firewall and antivirus off but backup is still slow, take a few following actions to deactivate multithreading feature:

  1. Run CloudBerry Backup;
  2. Open “Tools” menu and click on the “Options”;

2013-11-06_1736

  1. Go to the “Advanced” tab;
  2. Set the value in the “Thread count” field to one (1);2013-11-06_1735
  3. Click “OK”.

If this change takes effect, you can try to change thread count to a greater number to find the best count for your network environment.

Chunk Size

Backup data is transferred over the network in pieces or in other words - "chunks". Transfer of smaller chunk requires less bandwidth than for bigger one. Using small chunks allows avoiding long reload in case of error during the data transfer to the cloud storage. We recommend setting chunk size on about 10-20 MB. To set up a chunk size, please, follow the short instruction below:

  1. Run CloudBerry Backup;
  2. Open “Tools” menu and click on the “Options”;
  3. Go to the “Advanced” tab;

2013-11-06_1734

  1. Set the value in the “Chunk size” field to ten (10);
  2. Click “OK”.

If you have done everything correctly the speed of backup should come to the normal value. If you still have the speed of backup too low, please, feel free to contact our support team.

Managing Memory Usage

You can have a slow backup when backing up large files or lots of files at the same time. It occurs because CloudBerry Backup uses a fixed size of memory that is calculated as threadcount*2*chunksize (e.g. 6*2*10 = 120MB of RAM by default) to load file parts into a memory prior to uploading. If you have more file chunks than memory size allocated, CloudBerry Backup starts using a physical memory that slows down the process.

You can manage memory space usage the following way:

  1. Go to C:\ProgramData\CloudBerry Backup Server Edition\ and find enginesettings.list.
  2. Open enginesettings.list with Notepad.
  3. Find a tag: <MemoryManagerMaxMemoryUsage>314572800</MemoryManagerMaxMemoryUsage>
    and set larger value (in bytes): for example, 1073741824 (this is 1 GB).
  4. Save changes.
  5. Run a backup

Learn how to speed up data retrieval from Google Cloud Storage Nearline with On-Demand I/O feature.