Skip to content

ShinJustinHolly3317/memcached-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

How to use

This is an script for NodeJS developer to backup Memcached items cause no backup mechanism of any function in origin Memcached cli.

simple 2 steps can scan all keys which still within expiration date and write to local directory.

  1. run memcached-backup.js
node ./memcached-backup.js

This script basically use cachedump to scan all the keys which are not expired, and get all of their value, and store in local.

  1. run restore-backup-memcached.js
node ./restore-backup-memcached.js

Simply set back local backup files.

About

for legacy still using memcached

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published