We have a QNAP TS-410 in our office. Its hardware is:
- 256MB DDR2 RAM
- CPU Marvell 6281 800MHz
- 4 x 1.4GB Seagate SATA disks mounted on RAID5
We thought it would be sufficient to make backups for our servers, but we have encountered several problems:
- It takes about 5 hours to make a daily
rsyncbetween two 100GB directories. The directory tree is big and complex, because it's our production server with 200 websites. But changes should be minor. And network bandwidth is certainly not a problem (we have made tests with regular files upload/download).
- Once the rsync is made and all changes has been transferred, it takes more than 15 hours to make a rotation of these backups. We are using a
cp -alapproach to create hard links instead of copying.
- The built-in program
vs_refreshtakes almost a whole day to achieve its task.
We think every problem is directly related with the complexity and size of the directory tree. Imagine two hundred websites, being each one of them a Joomla, or a WordPress, or a Moodle, etc.
We think it is relatively normal for
cp to take a certain amount of time. But so much time? Is this an expected and normal behaviour?
If so, what can be done to improve the NAS performance? Maybe increasing the RAM to avoid swap replacements?