Formatting and made the backup command more resilient when it is not connected