Search Our Database

How to Speed Up Backup Restoration in DirectAdmin

Last updated on |
by

Introduction

This guide is intended for system administrators or web hosting users experiencing slow backup restoration times in DirectAdmin. By tweaking the DirectAdmin configuration, you can significantly improve the speed of restoring backups, especially for large user or reseller level backups. This solution is applicable to DirectAdmin servers where performance optimization is needed for backup processes.

Prerequisites

  • SSH access to modify the DirectAdmin configuration file.
  • Basic knowledge of editing server configuration files.

1. Log in to your server via SSH to access the DirectAdmin configuration file at:

vim /usr/local/directadmin/conf/directadmin.conf

 

2. Modify the tally_after_restore directive

  • Search for the directive tally_after_restore. If it exists, change its value to 0. If it does not exist, add the following line to the file:
tally_after_restore=0

This change disables the tallying process during backup restoration, which can slow down the restoration.

 

3. Save the changes and restart DirectAdmin

  • Save the configuration changes in the editor.
  • Restart DirectAdmin to apply the new settings using this command:
systemctl restart directadmin

 

4. Test the restoration process

  • Attempt restoring a backup to check if the performance has improved.
  • If the restoration speed is still slow, consider optimizing your server’s disk I/O or upgrading hardware resources.

 

Conclusion

By following these steps, you can enhance the speed of backup restoration in DirectAdmin by disabling the tallying process during restoration. This tweak is particularly useful for larger backups where restoration speed is crucial. For further assistance, please contact our support team at support@ipserverone.com.

 

This article was posted by Louis on 15 May, 2020