A Perl tool to create consistent EBS snapshots on Amazon EC2 by freezing filesystems and locking databases.
ec2-consistent-snapshot is a Perl-based command-line tool for creating consistent EBS snapshots on Amazon EC2. It addresses the challenge of capturing reliable backups of active volumes by freezing filesystems and locking databases to ensure data integrity during the snapshot process. The tool supports various databases and filesystems, making it suitable for complex storage configurations.
System administrators and DevOps engineers managing EC2 instances with EBS volumes who need reliable, consistent backups of active databases and filesystems. It's particularly relevant for those using MySQL, MongoDB, or Percona databases on Linux filesystems.
Developers choose ec2-consistent-snapshot because it provides a automated way to create application-consistent EBS snapshots, reducing the risk of corrupted backups. Its integration with multiple databases and support for RAID configurations offers a more robust alternative to basic snapshot tools.
[SUNSET] Initiate consistent EBS snapshots in Amazon EC2
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Flushes and freezes supported Linux filesystems like Ext3/4 and XFS using xfs_freeze or fsfreeze, ensuring on-disk data integrity during snapshot creation.
Supports MySQL, MongoDB, and Percona databases by flushing logs and locking tables, preventing writes and ensuring application-consistent backups.
Can snapshot multiple EBS volumes simultaneously while maintaining consistency across RAID configurations, reducing manual effort for complex storage setups.
Integrates with AWS IAM roles for secure authentication without needing explicit access keys, simplifying permission management as outlined in the README.
The README explicitly states it is no longer maintained, increasing risks of unresolved bugs, security vulnerabilities, and lack of compatibility with newer AWS features.
Written in Perl, which has no officially supported AWS SDK, complicating installation and integration in modern environments that prefer languages like Python or Node.js.
Requires installation of CPAN packages, has caveats like avoiding root filesystem freezing, and can hang if output is directed to a frozen filesystem, as noted in the documentation.