Rev 591: This is a 2nd implemetation of a shadow copy module for exposing in http://samba.org/~tridge/3_0-ctdb

tridge at samba.org tridge at samba.org
Sat Jun 16 15:14:39 GMT 2007


------------------------------------------------------------
revno: 591
revision-id: tridge at samba.org-20070616151413-wzak0e57nd23qfpd
parent: tridge at samba.org-20070614213512-ie5pz1ac78fwlxw9
committer: Andrew Tridgell <tridge at samba.org>
branch nick: s3-ctdb-tridge
timestamp: Sun 2007-06-17 01:14:13 +1000
message:
    This is a 2nd implemetation of a shadow copy module for exposing
    snapshots to windows clients as shadow copies. This version has the
    following features:
  
       1) you don't need to populate your shares with symlinks to the
       snapshots. This can be very important when you have thousands of
       shares, or use [homes]
  
       2) the inode number of the files is altered so it is different
       from the original. This allows the 'restore' button to work
       without a sharing violation
  
    Module options:
  
        shadow:snapdir = <directory where snapshots are kept>
  
        This is the directory containing the @GMT-* snapshot directories. If it is an absolute
        path it is used as-is. If it is a relative path, then it is taken relative to the mount
        point of the filesystem that the root of this share is on
  
        shadow:basedir = <base directory that snapshots are from>
  
        This is an optional parameter that specifies the directory that
        the snapshots are relative to. It defaults to the filesystem
        mount point
  
        shadow:fixinodes = yes/no
  
        If you enable shadow:fixinodes then this module will modify the
        apparent inode number of files in the snapshot directories using
        a hash of the files path. This is needed for snapshot systems
        where the snapshots have the same device:inode number as the
        original files (such as happens with GPFS snapshots). If you
        don't set this option then the 'restore' button in the shadow
        copy UI will fail with a sharing violation.
  
    Note that the directory names in the snapshot directory must take the form
    @GMT-YYYY.MM.DD-HH.MM.SS
    
    The following command would generate a correctly formatted directory name:
       date -u + at GMT-%Y.%m.%d-%H.%M.%S
added:
  source/modules/vfs_shadow_copy2.c vfs_shadow_copy2.c-20070616115727-8jw10u301cshsoqz-1
modified:
  source/Makefile.in             makefile.in-20070210173807-1wjifrbwaz6xnmgl-65
  source/configure.in            configure.in-20070210173807-1wjifrbwaz6xnmgl-78

Diff too large for email (588, the limit is 200).


More information about the samba-cvs mailing list