backup the config and data