steever
Based on that bug report and my reading of it, and some limited testing just now, Comment#9 has the details, with a rpm version requirement specified in Comment#7
To check the installed rpm version
rpm -qa e-smith-samba
On my sme7.3 sme this gives
e-smith-samba-1.14.1-3.el4.sme
so the required rpm is more recent than that specified (e-smith-samba-1.14.0-20)
Initially disable ShadowCopy for specific ibays or users you don't wish to take snapshots for
eg
db accounts setprop user1 ShadowCopy disabled
db accounts setprop user2 ShadowCopy disabled
db accounts setprop ibay1 ShadowCopy disabled
db accounts setprop ibay2 ShadowCopy disabled
Note: For the script to work correctly, leave two or more users enabled
Then enable and expand templates
config setprop smb ShadowCopy enabled
signal-event ibay-modify Primary
You need to schedule shadow copy to take snapshots.
You can do this manually from the command prompt
or run a cron job as often as required.
Snapshots are only taken if there are changes.
/etc/e-smith/events/actions/shadow-copy-rotate
Note: You will need enough space free to take a copy of the entire /home/e-smith/files directory plus any
changes that take place.
A suitable cron job that runs the script every hour from 10am to 5pm on weekdays would contain
Create a file
/etc/cron.d/shadowcopysnapshot
which contains
# Shadow Copy snapshot Crond Entry
#+-----------------------Minute (0-59)
#| +-------------------Hour of Day (0-23)
#| | +---------------Day of Month (1-31)
#| | | +-----------Month of Year (1-12)
#| | | | +-------Day of Week (0=Sun,6=Sat)
#v v v v v
00 10,11,12,13,14,15,16,17 * * 1,2,3,4,5 root /etc/e-smith/events/actions/shadow-copy-rotate
After saving the above script do
/etc/init.d/crond restart
In Windows access the snapshot files via Windows Explorer properties page
A Windows client exists in WinXP SP2
To obtain a client for Windows 2000SP3+ download from here
http://technet.microsoft.com/en-gb/windowsserver/bb405951.aspx Feedback to the bug tracker at
http://bugs.contribs.org/show_bug.cgi?id=1549