Re: How to backup a huge amount of tiny files



rcrios@xxxxxxxxx wrote:
Hi,

We have a RHEL 4 running on a dual Xeon (5110) 1.6Ghz -- 8Gb RAM --
SAS 2.5" 10K rpm.

We are trying to do a backup of a directory which has more or less
10.000.000 of xml files. The files size varies between 1K and 10K.

When we tried to do a tar cvfz backup.tgz /hugedir, we spent more than
10 hours and we weren't even close to finish it.

So, my question is: how to do a backup of a huge amount of tiny files?

It is never a good idea to have this many files in a single directory!! I would split the files over 1000 and then use tar on it.

--
Dawid Michalczyk
http://www.comp.eonworks.com _Linux SysAdmin and Webmaster scripts_
.



Relevant Pages