How to backup large files( > 2G or 4G)?
I have one directory that has many subdirectory and total size is about 11G.The files in that directory is various every day(created or deleted). Now I want to backup this directory once a day and want to keep the files permission and owner unchanged (becuase I want to restore it in the future). Because the total files size is very large(11G) and it will spend a long time if backup the whole directory every time, I just want to backup the changed files(created or deleted) except for the first backup.I have used the following methods and have some troubles:
1. cpio or tar : can not deal with so large files( they have a limitation 2G or 4G?).
2.cp -a (thanks for Cheers help): It can deal with large files and the option -a can keep the files permission and owner unchanged , but It have to copy the whole directory every time.
I have used the cp -aU , It can backup the newly created files only(the unchanged old files do not backup), but it can not delete the old files in the backuped directory while the coresponding files in the original directory was deleted .
my computer enviroment:
OS : redhat linux 9
Who can help me?