Skip to content

DragonWork/redis-backup.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Clone this repo:

cd /opt
git clone https://github.com/DragonWork/redis-backup.sh.git

The shell script requires at least bash, xargs, awk and zstd for compression.

Install atq and cronic, then open crontab:

crontab -e

... and add this line for hourly asynchronous backups running at idle system conditions:

0 * * * * echo 'cronic /opt/redis-backup.sh/redis-backup.sh' | batch 2>/dev/null

About

Universal Redis backup shell script suitable for cronjobs. Works with Redis, Valkey, KeyDB and all other Redis-compatible forks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages