[MGNLBACKUP-117] Creating zipped backups leads to endless loops Created: 11/Dec/17 Updated: 29/Mar/22 Resolved: 22/Jan/18 |
|
| Status: | Closed |
| Project: | Backup |
| Component/s: | None |
| Affects Version/s: | 2.1.2, 2.2 |
| Fix Version/s: | 2.1.3, 2.2.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Andrew Warinner | Assignee: | Maxime Michel |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
AWS EC2 instance |
||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Release notes required: |
Yes
|
||||
| Documentation update required: |
Yes
|
||||
| Date of First Response: | |||||
| Sprint: | Basel 129, Basel 130, Basel 131 | ||||
| Story Points: | 8 | ||||
| Team: | |||||
| Description |
|
Running a backup from the command line on an AWS EC2 instance with the -z option to zip the resulting backup file will consume all free space on the disk. For example: sudo /opt/magnolia/backups/magnolia-module-backup-2.1.2/bin/backup -c /opt/magnolia/release/jackrabbit-bundle-mysql-search.xml -r /opt/magnolia/repository/magnolia -t /tmp/magnolia-TEST -z results in: [ec2-user@ip-172-31-6-135 magnolia-TEST]$ ls -l EC2 instance info: uname -a: Note: this works fine for me on Mac OS X. Another note: the obvious workaround for this is to zip the backup directory after the backup is finished and unzip when restoring. However, this adds adds a couple of extra steps in orchestrating the startup of a Magnolia instance, but it would simplify the orchestration if one could directly create zipped backup files. |
| Comments |
| Comment by Andrew Warinner [ 13/Dec/17 ] |
|
Backup module will be used by Cimpress in their autoscaling architecture for AWS. |
| Comment by Andrew Warinner [ 02/Jan/18 ] |
|
v2.2.1-SNAPSHOT still consumes all available space on EC2 when trying to back up to a zip file. |
| Comment by Maxime Michel [ 04/Jan/18 ] |
|
I couldn't reproduce this on desktop Ubuntu. I have a more current kernel, though. |