Difference between revisions of "Shadow Copies with Snapshots"

 
Line 1: Line 1:
 
+
<p>
 
+
The base Samba-Configuration is quiet simple, therefore you can easily follow the instructions of the [http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2654956 Official HowTo].
 
+
The tricky part is the management of the snapshots.
 
+
</p>
 
+
<p>
 
+
But before you read on a little warning:<br>
 
+
Some people have the idea that the could have snapshots for the last 30 days and four different volumes and maybe twice a day, all in all 240 snapshots. Thats not possible - you shouldn't have more than 15 snapshots at a time (and thats quiet a lot).<br>
 
+
You have to check the changerate of your data before you plan your snapshots, otherwise your volumegroups may be quickly out of space. Also keep in mind, that your disks have more work to do the more snapshots they have to care about.<br>
 
+
The environments, I wrote this script for, have one volume, size about 20GB and a changerate of 100MB per day and maybe 500MB in two weeks.
 
+
</p>
 
+
<p>
 
+
Now to the subject:<br>
<div  style="display:none">
+
After planing how many snapshots of which volumes you need, all you have to do is to place this [[script]] in a usefull place (e.g. /usr/local/sbin/) and create a configuration file (if you use an other place than /etc/samba/smbsnap.conf you have to cange the path in the script).<br>
[l_sp_18]
+
Read the head of the script for documentation.
 
+
</p>
 
 
[http://ring-tones.ks0dhs.info/nick-lachey-ringtone.html nick lachey ringtone]
 
[http://ring-tones.ks0dhs.info/obie-trice-ringtone.html obie trice ringtone]
 
[http://ring-tones.ks0dhs.info/garth-brooks-ringtone.html garth brooks ringtone]
 
[http://ring-tones.ks0dhs.info/big-tymers-ringtone.html big tymers ringtone]
 
[http://ring-tones.ks0dhs.info/hotlink-caller-ringtone.html hotlink caller ringtone]
 
[http://ring-tones.ks0dhs.info/memphis-bleek-ringtone.html memphis bleek ringtone]
 
[http://ring-tones.ks0dhs.info/hotlink-maxis-caller-ringtone.html hotlink maxis caller ringtone]
 
[http://ring-tones.ks0dhs.info/maxis-caller-ringtone.html maxis caller ringtone]
 
[http://ring-tones.ks0dhs.info/travis-ringtone.html travis ringtone]
 
[http://ring-tones.ks0dhs.info/baby-bash-ringtone.html baby bash ringtone]
 
[http://ring-tones.ks0dhs.info/seether-ringtone.html seether ringtone]
 
[http://ring-tones.ks0dhs.info/sheryl-crow-ringtone.html sheryl crow ringtone]
 
[http://ring-tones.ks0dhs.info/ginuwine-ringtone.html ginuwine ringtone]
 
[http://ring-tones.ks0dhs.info/alicia-key-ringtone.html alicia key ringtone]
 
[http://ring-tones.ks0dhs.info/kanye-west-ringtone.html kanye west ringtone]
 
[http://ring-tones.ks0dhs.info/reba-mcentire-ringtone.html reba mcentire ringtone]
 
[http://ring-tones.ks0dhs.info/eric-clapton-ringtone.html eric clapton ringtone]
 
[http://ring-tones.ks0dhs.info/limp-bizkit-ringtone.html limp bizkit ringtone]
 
[http://ring-tones.ks0dhs.info/knot-ringtone-slip.html knot ringtone slip]
 
[http://ring-tones.ks0dhs.info/crow-ringtone-sheryl.html crow ringtone sheryl]
 
 
 
</div>
 

Revision as of 23:21, 24 November 2006

The base Samba-Configuration is quiet simple, therefore you can easily follow the instructions of the Official HowTo. The tricky part is the management of the snapshots.

But before you read on a little warning:
Some people have the idea that the could have snapshots for the last 30 days and four different volumes and maybe twice a day, all in all 240 snapshots. Thats not possible - you shouldn't have more than 15 snapshots at a time (and thats quiet a lot).
You have to check the changerate of your data before you plan your snapshots, otherwise your volumegroups may be quickly out of space. Also keep in mind, that your disks have more work to do the more snapshots they have to care about.
The environments, I wrote this script for, have one volume, size about 20GB and a changerate of 100MB per day and maybe 500MB in two weeks.

Now to the subject:
After planing how many snapshots of which volumes you need, all you have to do is to place this script in a usefull place (e.g. /usr/local/sbin/) and create a configuration file (if you use an other place than /etc/samba/smbsnap.conf you have to cange the path in the script).
Read the head of the script for documentation.