freezer/bin/freezerc

45 lines
1.6 KiB
Python
Executable File

#!/usr/bin/env python
'''
(c) Copyright 2014,2015 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This product includes cryptographic software written by Eric Young
(eay@cryptsoft.com). This product includes software written by Tim
Hudson (tjh@cryptsoft.com).
========================================================================
Freezer offer the following features:
[*] Backup your filesystem using lvm snapshot to swift
[*] Data Encryption (AES-256-CFB)
[*] Backup your file system tree directly (without volume snapshot)
[*] Backup your journaled mongodb directory tree using lvm snap to swift
[*] Backup MySQL DB with lvm snapshot
[*] Restore automatically your data from swift to your filesystems
[*] Low storage consumption as the backup are uploaded as a stream
[*] Flexible Incremental backup policy
'''
from freezer.main import freezer_main, fail
if __name__ == '__main__':
try:
freezer_main()
except ValueError as err:
fail(1, err)
except ImportError as err:
fail(1, err)
except Exception as err:
fail(1, err)