Hi @Ahmad_Mirehki and welcome here!
Immich itself make backup regularly. Read some thread about restoring steps.