Changes

From SME Server
Jump to navigationJump to search
231 bytes added ,  00:17, 1 July 2013
Line 27: Line 27:  
  db accounts setprop ibay2 ShadowCopy disabled
 
  db accounts setprop ibay2 ShadowCopy disabled
   −
{{Note box|For the script to work correctly, leave two or more users enabled. Fixed in e-smith-samba-???.}}
+
{{Note box|For the script to work correctly, leave two or more users enabled.}}
    
To re-enable any disabled ibays or users do:
 
To re-enable any disabled ibays or users do:
Line 35: Line 35:  
Then enable and expand templates
 
Then enable and expand templates
 
  config setprop smb ShadowCopy enabled
 
  config setprop smb ShadowCopy enabled
  signal-event ibay-modify Primary
+
config setprop smb WideLinks on
 +
  signal-event ibay-modify
    +
=====WideLinks=====
 +
Samba 3.5 changed the default for WideLinks to no, this tightens security to prevent symbolic links seeing outside the directory root. ShadowCopy itself will work without this setting, but will require shell access to restore files..
    
====Adding ibays and users to your server====
 
====Adding ibays and users to your server====
Line 53: Line 56:     
====Setup Cron====
 
====Setup Cron====
A cron job that runs the script every hour from 10am to 5pm on weekdays would contain the following. Adjust to suit your requirements, Shadow copy keeps 64 copies so you may like to save less often.
+
A cron job that runs the script every hour from 10am to 5pm on weekdays would contain the following. Adjust to suit your requirements.
    
Create a file
 
Create a file
Line 86: Line 89:  
  and so on...
 
  and so on...
 
The number of subfolders depends on how many snapshots have been taken.
 
The number of subfolders depends on how many snapshots have been taken.
  −
The maximum number of snapshots is 64.
      
Note that a new snapshot is only taken if files have changed.
 
Note that a new snapshot is only taken if files have changed.
Line 98: Line 99:     
[[bugzilla:1549]]
 
[[bugzilla:1549]]
 +
 +
[[bugzilla:6858]] Wide Links
    
[http://forums.contribs.org/index.php?topic=39954.0 Shadow Copy topic in the Contribs forums]
 
[http://forums.contribs.org/index.php?topic=39954.0 Shadow Copy topic in the Contribs forums]
Line 108: Line 111:  
[[Category:Howto]]
 
[[Category:Howto]]
 
[[Category:Backup]]
 
[[Category:Backup]]
 +
[[Category:Administration:File and Directory Access]]
88

edits

Navigation menu