What to backup when re-installing Windows?

I need to re-install Windows on my workstation and want to make sure I backup everything PhpStorm-related so that I can restore my current work enviroment to exactly the way it is now.

I exported my settings as described here: https://www.jetbrains.com/phpstorm/help/exporting-and-importing-settings.html

Do I need to backup the "\Users\UserName\.WebIde80" folder?

Do I need to backup scopes somehow, or are they backed up when the settings are exported?

Thanks for your help.

2 comments
Comment actions Permalink

Just backup settings (as you already did) and your project (along with .idea folder)

0
Comment actions Permalink

Hi there,

IMO backing up "C:\Users\USERNAME\.WebIde80\config" folder (you can safely ignore content of "system" folder) is the safest way as compared to "File | Export Settings..." it guarantees that:

  • all config files will be preserved -- no matter what those files are and which plugin created them
  • it includes all files even if there is a mistake in code for Export Settings (there were issues in the past (I remember at least one from like 2 years ago) where some standard settings were not in the exported list)


P.S.
I have to note that I've always used the just directory backup (as it can be automated/scheduled) and it always worked well for me. I've used "Export Settings" only for quickly exporting only certain parts of the config or looking at what files do belong to each export category.

Do I need to backup scopes somehow, or are they backed up when the settings are exported?

Export Settings or manual folder backup affects only IDE-wide settings (including default settings for project). Project-specific settings are stored together with your project -- in .idea subfolder. Scopes belongs to project-specific settings.

0

Please sign in to leave a comment.