New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compress backup on the fly [CORE1662] #2088
Comments
Commented by: @AlexPeshkoff Extending services API currently is problematic due to extremely bad design of API (i.e. adding new parameter to svc_start parameters block break compatibility with older servers). But in the future, when we have new format for that blocks, I do not see big problems with what you suggested. |
Commented by: @dyemanov What's the problem with redirecting the gbak output to e.g. gzip? |
Commented by: @AlexPeshkoff There are no problems when you use gbak as utility, but if you want to run it service - there are problems. Certainly, it's possibke to hack it - create named pipe, start any compressing utility from one size and use that pipe as service output. But this requires access to server to start *zip, and one looses main services feature - ability to run tasks witout access to server. |
Modified by: @pcisarWorkflow: jira [ 13730 ] => Firebird [ 14096 ] |
Commented by: PizzaProgram Ltd. (szakilaci) I have used GBAK + 7zip for this: it is absolutely NOT SECURE ! Every separate windows process is visible including parameters. So it shows DB location + username + passwords during backup & restore. So YES, it would be really essential to be able to access the backup/restore filestream from API securely. |
Modified by: @AlexPeshkoffissuetype: Improvement [ 4 ] => Sub-task [ 5 ] Parent: CORE5808 [ 22170 ] |
Commented by: @AlexPeshkoff 5808 includes zip compression - it's absolutely required for encrypted backups that are uncompressable. Therefore changed to sub-task. |
Commented by: @AlexPeshkoff Sorry, not 7zip - but plain zip support is added in 5808. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 4.0 Beta 1 [ 10750 ] |
Submitted by: Gabor Boros (gaborboros)
Jira_subtask_inward CORE5808
Votes: 3
Hi,
I want to suggest an optional compressing method for the backup process.
I have a production database with ~73.7 MB size.
The backup file size is ~48.9 MB. When I compress the backup file with zip
the size is ~9.0 MB and with 7z the size ~3.9 MB.
The 7z file size is ~8% of the original backup file.
I think this is not a "hard to implement" feature.
Just the backup process would send the backup bytes through a compression algorithm.
Gabor
The text was updated successfully, but these errors were encountered: