backup command written with golang