OpenStack Swift incremental backup and restore automation tool for file system, MongoDB, MySQL. LVM snapshot and encryption support.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- What is freezer? Is a tool to automate data backup and restore process using OpenStack Swift and/or other media storage.
- Does freezer support incremental backup? Yes. Incremental backup are done using GNU tar incremental features.
- Does freezer check the file contents to establish if a file was modified? Freezer check for changes at mtime and ctime in every file inode to evaluate if a file changed or not.
- Why GNU tar rather than rsync? Both approaches are good. Rsync check the file content, while tar check the file inode. In our environment, we need to backup directories with size > 400GB and hundreds of thousands of files. Rsync approach is effective but slow. Tar is fast as it needs to check only the file inodes, rather than the full file content. Rsync backup type will be added pretty soon.
- Does freezer support encrypted backup? Yes. Freezer encrypt data using OpenSSL (AES-256-CFB).
- Does freezer execute point-in-time backup? Yes. For point in time backup LVM snapshot feature used.
- Can I use freezer on OSX or other OS where GNU Tar is not installed by default? Yes. For OSX and *BSD, just install gtar and freezer automatically will use gtar to execute backup. OS other then Linux, OSX and *BSD are currently not supported.
- What Application backup does freezer support currently? MongoDB, MySQL to have a higher level of data consistency, while any application is supported for crash consistent data integrity.
- How does the MongoDB backup happens? Freezer required journal enabled in Mongo and lvm volume to execute backup. It checks if the Mongo instance is the master and create lvm snapshot to have consistent data.
- Does freezer manage sparse files efficiently? Yes. Zeroed/null data is not backed up. So less space and bandwidth will be used.
- Does freezer remove automatically backup after some time? Yes. From command line the option --remove-older-than (days) can be used to remove objects older then (days).
- Does freezer support MySQL Backup? Yes.
- What storage media are currently supported? Current support media storage are:
- Store files on a remote host file system using ssh
- Directory in the local host (i.e. NFS/CIFS mounted volumes)
- Does freezer has any Web UI or API? Yes. Freezer has REST API and a Web UI integrated with Horizon.
- Does Freezer detect removed files between incremental executions? Yes.
- Will Freezer be included as official project in OpenStack? We hope so, as soon as we can.
- Does freezer support Windows? Yes. The freezer agent and scheduler can be executed on Windows.
- What is being used on Windows to execute file system snapshots? Currently VSS are used to support point in time snapshots.
- What applications are supported in Windows for consistent backups? SQL Server (--mode sqlserver).
- Are there examples of OpenStack projects that use Freezer that I can look at? Not currently.
- My service has it's own task scheduler. What is the recommended way to schedule Freezer runs? If you want to use the freezer-api and freezer-web-ui in horizon, you need to use the freezer-scheduler. If you do not need the api and web ui, you can just execute the freezer-agent from crontab or any other scheduler.
- What are the benefits of using the API and Web UI?
- You can start backup and restore jobs on any node from the Web UI
- Backup jobs can be synchronized across multiple nodes
- The UI provides metrics and other info
- How can I run user-defined scripts before and after a backup run? A simple solution is to implement your own script locally and execute freezer-agent from it. We recommend instead creating "exec"-type jobs in the UI and set up job dependencies.
- What are the options for backing up MySQL/Percona?
a. Make use of filesystem snapshots (LVM) using the "--mode mysql" option. It's supported natively by Freezer and suitable for large databases. This instructs freezer to execute the following steps: - flush tables and lock the DB - take an LVM snapshot - release the DB (so it's usable again very quiclky) - backup the consistent DB image from the snapshot - release the snapshot
Using mysqldump is not recommended for speed and reliability reasons.
- b. Manual process - It does not require LVM and provides incremental backup.
- manually flush tables and lock the DB: "flush tables with read lock"
- backup the DB folder, usually /var/lib/mysql (--mode fs --path-to-backup /var/lib/mysql --max-level 14)
- manually unlock the DB