Answer the question
In order to leave comments, you need to log in
How to make a backup with a minimum of disk usage?
Mysqldump is done every day (300 databases), each database in its file, ~ 20GB in total, is compressed into one 1GB bz2 file, then the archive flies to amazon glacer.
The problem is that the server does not have 20GB for files, and bz2 requires * a whole tar file when compressed, how to get out?
Answer the question
In order to leave comments, you need to log in
Now you do not have enough 20 GB for backup, tomorrow you will not have enough free space to store new data. And that tomorrow will come sooner than you think.
Add disk space.
As a temporary option - make a backup of 1 database, archive it, send it to Amazon, then another, etc. The required disk space will be reduced to the amount of the maximum database * 2.
There is a large list of software that supports deduplication (search for "dedup")
https://github.com/restic/others
ZBackup is not bad.
What's the problem with backing up directly to the archive?
# mysqldump -uUSER -pPASSWORD BASE | gzip > base.sql.gz
# mysqldump -uUSER -pPASSWORD BASE > base.sql
# du -sh ./base.sql*
26M ./base.sql
4,0M ./base.sql.gz
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question