Google
 

4/22/10

Use dar to backup large directories to multiple DVDs.

I have a large directory of research data. Cannot use tar to do the work because the file size limit of tar is 4G. Finally get dar, which works very well. Use the following to backup


>> sudo dar -s 10M -c test -R / -g /Volumes/DATABACKUP/Research/ -v


The above means: backup all the stuffs in directory /Volumes/DATABACKUP/Research/. Since there are so many files in this directory, dar will make sure that the files it generate is small enough for later use. Here with -s 10M, dar generates files of 10 M.  -v is used to display message. -R is used to set the ROOT directory, which is / here. -g restricts the directory to /Volumes/DATABACKUP/Research/.


No comments: