[Lustre-devel] backup tools

huangwei huangwei at clusterfs.com
Wed Nov 22 20:50:59 MST 2006


Hi,

These are two backup tools provided by CFS: star and e2scan. star 
(ftp://ftp.berlios.de/pub/star) is a tar like archiver, which has the 
capability to read and write file system extended attributes (EA) for 
files when the file system has an EA api.CFS patch this program to 
support lustre striping EA. e2scan is a program using libext2fs to find 
inodes with ctime or mtime newer than a given time and print out their 
pathname.

Simple usage examples for star with lustre-support is:

1.create (backup)
   star -cv -lustre f=tarfile file1 file2 ...

2.extract (restore)
   star -xv -lustre f=tarfile  /* don't preserve osts */
   star -xv -lustre -preserve-osts f=tarfile /* preserve osts */

3. copy
   star -copy -lustre file1 ... directory /* don't preserve osts */
   star -copy -lustre -preserve-osts directory /* preserve osts *

Simple usage example for e2scan:
    e2scan -u -f filename dev
which will create a file named modified_pathnames include all modified 
file's pathname.

more detail of star and e2scan can be found from their man page.


Thanks,
huangwei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lustre.patch
Type: text/x-patch
Size: 14124 bytes
Desc: not available
Url : http://mail.clusterfs.com/pipermail/lustre-devel/attachments/20061122/858ed01e/lustre-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: star-1.5patched.tar.gz
Type: application/x-gzip
Size: 916849 bytes
Desc: not available
Url : http://mail.clusterfs.com/pipermail/lustre-devel/attachments/20061122/858ed01e/star-1.5patched.tar-0001.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e2scan.tar.gz
Type: application/x-gzip
Size: 8398 bytes
Desc: not available
Url : http://mail.clusterfs.com/pipermail/lustre-devel/attachments/20061122/858ed01e/e2scan.tar-0001.gz


More information about the Lustre-devel mailing list