Add function to backup code from adapters
Add some comments
Add function to backup redis database