add backup support for mysql and archive