在Debian上備份PhpStorm設置主要有以下兩種方法:
cd ~/.config/JetBrains/PhpStorm<版本號>
。tar
命令打包配置文件:tar -czvf phpstorm_config_backup.tar.gz .
。File > Settings > Appearance & Behavior > System Settings > Backup and Restore
。Backup
按鈕,選擇保存位置和文件名,完成備份。若需備份數據庫,可通過PhpStorm的Database工具導出SQL文件。還可通過crontab
設置定時備份任務。