Fixed data save with compression:

- fixed wrong compression type storage
- fixed cache storage
- fixed data vacuum
- fixed snapshot creation