Creating Yii Snapshot