OpenStack Swift incremental backup and restore automation tool for file system, MongoDB, MySQL. LVM snapshot and encryption support.
Go to file
Caihui 7244bef734 Update to ReSizeSteam__next__()
1. The bug.
    Traceback (most recent call last):

      File "/opt/stack/freezer/freezer/tests/unit/openstack/", line 37, in test_backup_cinder_by_glance

      File "/opt/stack/freezer/freezer/openstack/", line 79, in backup_cinder_by_glance, package, headers=headers)

      File "/opt/stack/freezer/freezer/storage/", line 163, in add_stream
    for el in stream:

    TypeError: iter() returned non-iterator of type 'ReSizeStream'
2. Fix
In python3.x , a iterator object should be difined two funs " __iter__()" and "__next__()".

Update to ReSizeSteam.__next__().

Change-Id: I940841b94789d024d3b9447f96158963fe3e16ee
2020-06-30 19:08:38 -07:00
devstack Update devstack doc 2019-11-14 17:19:47 -08:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-30 16:47:27 +02:00
etc Correct errors about freezer-api supporting for V1 and V2 api 2018-11-09 00:21:20 +00:00
freezer Update to ReSizeSteam__next__() 2020-06-30 19:08:38 -07:00
playbooks/legacy/freezer OpenDev Migration Patch 2019-04-19 19:26:12 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-05-30 16:47:27 +02:00
.coveragerc Fix freezer for py3 compatibility 2016-02-12 01:39:34 +00:00
.gitignore Update .gitignore 2018-11-12 19:01:11 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:12 +00:00
.pylintrc Upgrade pylint to a new version that works with python3.7 2019-10-30 22:41:02 -04:00
.stestr.conf Switch to stestr 2018-07-17 16:48:26 +07:00
.zuul.yaml Add Python3 victoria unit tests 2020-04-22 13:09:55 +00:00
CREDITS.rst Update CREDITS list 2020-06-24 01:54:30 -07:00
FAQ.rst Fix description for backup management 2017-03-28 16:08:29 +08:00
HACKING.rst Clean up docs and specs directories 2018-09-05 15:18:30 +09:00
LICENSE Import pep3134daemon as local module 2015-11-23 11:09:38 +00:00
README.rst Update api-ref location 2019-07-22 18:22:21 +02:00
bindep.txt Use bindep to define binary deps 2017-04-04 23:16:37 +00:00
freezer_logo.jpg Adding the freezer logo to the README 2016-03-30 19:17:11 +01:00
lower-constraints.txt Switch to newer openstackdocstheme and reno versions 2020-05-30 16:47:27 +02:00
requirements.txt Remove six usage from freezer package 2020-01-22 03:52:35 -08:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2019-11-22 01:52:55 +00:00 Updated from global requirements 2017-06-08 16:16:50 +00:00
test-requirements.txt Remove packages version for python2.x 2020-06-24 00:02:37 -07:00
tox.ini Update tox env param 2020-06-24 03:56:52 -07:00


Team and repository tags


OpenStack Freezer


Freezer is a Backup Restore DR as a Service platform that helps you to automate the data backup and restore process.

The following features are available:

  • Backup file system using point-in-time snapshot
  • Strong encryption supported: AES-256-CFB
  • Backup file system tree directly (without volume snapshot)
  • Backup journalled MongoDB directory tree using lvm snapshot to Swift
  • Backup MySQL with lvm snapshot
  • Restore data from a specific date automatically to file system
  • Low storage consumption as the backup are uploaded as a stream
  • Flexible backup policy (incremental and differential)
  • Data is archived in GNU Tar format for file based incremental
  • Multiple compression algorithm support (zlib, bzip2, xz)
  • Remove old backup automatically according to the provided parameters
  • Multiple storage media support (Swift, local file system, or ssh)
  • Flush kernel buffered memory to disk
  • Multi-platform (Linux, Windows, *BSD, OSX)
  • Manage multiple jobs (I.e., multiple backups on the same node)
  • Synchronize backups and restore on multiple nodes
  • Web user interface integrated with OpenStack Horizon
  • Execute scripts/commands before or after a job execution
  • More ...

To learn how to use Freezer's API, consult the documentation available online at:

Freezer Disaster Recovery: - Freezer DR

Freezer Horizon plugin: - Freezer Web UI

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:


To learn how to deploy and configure OpenStack Freezer, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:


When errors occure, these are good places to check:

  • freezer-api log: $HOME/log/freezer-api.log


  • freezer-agent log: $HOME/.freezer/freezer.log
  • freezer-scheduler log:/var/log/freezer/scheduler.log


Any new code must follow the development guidelines detailed in the HACKING.rst file and OpenStack general development guidelines, and pass all unit tests.

Further developer focused documentation is available at:

Contributors are encouraged to join IRC (#openstack-freezer on freenode):

Other Information

Release notes for the project can be found at:

During each Summit and Project Team Gathering, we agree on what the whole community wants to focus on for the upcoming release. The plans for freezer can be found at: