lib for backup