All Projects → TurboLabIt → zzmysqldump

TurboLabIt / zzmysqldump

Licence: other
mysqldump every DB of your MySQL Server to its own, 7z-compressed file.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to zzmysqldump

ioBroker.backitup
Backitup enables the cyclical creation of backups of an IoBroker / Homematic installation
Stars: ✭ 43 (-8.51%)
Mutual labels:  backup, mysql-backup
ansible-backup
Ansible daily backup role
Stars: ✭ 25 (-46.81%)
Mutual labels:  backup, mysql-backup
kube-dump
Backup a Kubernetes cluster as a yaml manifest
Stars: ✭ 142 (+202.13%)
Mutual labels:  backup
trellis-backup-during-deploy
Backup WordPress database during Trellis deploys
Stars: ✭ 23 (-51.06%)
Mutual labels:  backup
gitlab-mattermost-backup
A simple backup script for mattermost in gitlab omnibus package
Stars: ✭ 23 (-51.06%)
Mutual labels:  backup
yii2-db-manager
Database Backup and Restore functionality
Stars: ✭ 96 (+104.26%)
Mutual labels:  backup
compose-dump
Dump and restore Docker Compose-projects
Stars: ✭ 14 (-70.21%)
Mutual labels:  backup
docker-backup-to-s3
Docker container that periodically backups files to Amazon S3 using s3cmd and cron
Stars: ✭ 124 (+163.83%)
Mutual labels:  backup
docker base images
Vlad's Base Images for Docker
Stars: ✭ 61 (+29.79%)
Mutual labels:  backup
gickup
No description or website provided.
Stars: ✭ 471 (+902.13%)
Mutual labels:  backup
couchbackup
CouchDB backup and restore command-line utility.
Stars: ✭ 15 (-68.09%)
Mutual labels:  backup
iceshelf
A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage
Stars: ✭ 28 (-40.43%)
Mutual labels:  backup
paperback
Paper backup generator suitable for long-term storage.
Stars: ✭ 517 (+1000%)
Mutual labels:  backup
eXperDB-Management
eXperDB-Management is a integrated management tool for PostgreSQL(for efficient operation and management).
Stars: ✭ 38 (-19.15%)
Mutual labels:  backup
abgleich
zfs sync tool
Stars: ✭ 22 (-53.19%)
Mutual labels:  backup
s3backup
No more custom backup scripts please ...
Stars: ✭ 20 (-57.45%)
Mutual labels:  backup
radio
Redundant Array of Distributed Independent Objectstores in short RADIO performs synchronous mirroring, erasure coding across multiple object stores
Stars: ✭ 25 (-46.81%)
Mutual labels:  backup
github-backup-docker
Docker wrapper for github-backup
Stars: ✭ 38 (-19.15%)
Mutual labels:  backup
BM
The Utility to Install Songs, Install Mods, Install/Update BMBF, Install HitSounds, download automatically made Playlists, get better support, switch between the modded and unmodded Version of Beat Saber, do full Backups and way more
Stars: ✭ 33 (-29.79%)
Mutual labels:  backup
dijnet-bot
Az összes számlád még egy helyen :)
Stars: ✭ 17 (-63.83%)
Mutual labels:  backup

zzmysqldump

mysqldump every DB of your MySQL Server to its own, 7z-compressed file. The provided setup.sh auto-installs/updates the code and makes the script available as a new, simple shell command (zzmysqldump). The project aims to deliver a fully configfile-driven script: no code editing should be necessary!

Parli italiano? » Leggi: MySQL/mysqldump: creare un file distinto/singolo per ogni database con zzmysqldump (script)

Install

Just execute:

curl -s https://raw.githubusercontent.com/TurboLabIt/zzmysqldump/master/setup.sh | sudo sh

Now copy the provided sample configuration file (zzmysqldump.default.conf) to your own zzmysqldump.conf and replace username, password and stuff:

sudo cp /usr/local/turbolab.it/zzmysqldump/zzmysqldump.default.conf /etc/turbolab.it/zzmysqldump.conf && sudo nano /etc/turbolab.it/zzmysqldump.conf

Run it

It's MySQL Server backup time! Run zzmysqldump to generate your 7z-compressed, database-dump files.

Known issues

-> mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)

Some extra privileges are needed for the --lock-all-tables mysqldump argument activated by the default configuration. root has it, other users don't.

As root, grant it: GRANT RELOAD, PROCESS ON *.* TO 'your_user'@'127.0.0.1' (some of these can only be granted globally, not to a particular database).

If you can't grant the RELOAD privilege to your user and you are in a dev/low-traffic enviroment, you can just remove --lock-all-tables in your config. For example, just leave MYSQLDUMP_OPTIONS="--opt --add-drop-database"

-> 7-zipping fails. Error: Incorrect command line

Your 7za package is ancient! It's failing due to the -sdel argument, introduced by 7-zip 9.30 alpha (2012-10-26). You can just remove this argument in your config. For example, just leave SEVENZIP_COMPRESS_OPTIONS="-t7z -mx=9 -mfb=256 -md=256m -ms=on"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].