Answers.Body: <p>My suggestion would be one of the below</p>
  <ol>
  <li>Tar/zip the current civi folder and delete.</li>
  <li>Move the current civi folder out of the cms directory.</li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T16:57:23.603Z
Answers.Text: Just to add to this answer: my understanding is that the CMS will search for executable code in certain folders,, and run whatever is there. If there are two copies it could try to run both and create conflicts.
Answers.UserDisplayName: twowheeler
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-01T10:06:15.077Z
Answers.LastActivityDate: 2023-03-01T10:06:15.077Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Cant I just rename it ?
  It would make the restore process quicker if the upgrade fails.</p>
  
Tags: <upgrade>
Title: do I have to delete Civicrm folder before upgrade - cant I just rename?
ThreadText: # do I have to delete Civicrm folder before upgrade - cant I just rename?
  
  (Asked by: username_0 on 2023-03-01)
  
  Cant I just rename it ?
  It would make the restore process quicker if the upgrade fails.
  
  **Tags:** upgrade
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-03-01. Score: 2
  
  My suggestion would be one of the below
  
  1. Tar/zip the current civi folder and delete.
  2. Move the current civi folder out of the cms directory.
  
  > **Comments:**
  > **username_2**: Just to add to this answer: my understanding is that the CMS will search for executable code in certain folders,, and run whatever is there. If there are two copies it could try to run both and create conflicts.  
  
  ---
  
  