29 Jun
2009
29 Jun
'09
6:42 a.m.
Hello, I've got a directory a du -sh on it shows it's 330 mb in size. This is on a centos 5.3 box. It has directories, regular files and symlinks in it. This shows what happens when i'm working late, brain goes to mush. I want to back it all up symlinks and all making an exact copy for archival purposes. I've tried some tar commands -cpf and -chpf but those gave me different archive sizes, when i uncompressed the folder it was larger or smaller than the original and not by a little bit either there was a 5 mb difference in one case, a 35 mb in another, i'm assuming the symlinks are the snagpoint, and that tar is creating hard links. I thought about rsync but didn't think it archived, pax i don't know. Suggestions welcome. Thanks. Dave.