Bed for dog, cat XS with backrest