Use a name that does not indicate switchable roles, e.g. Validate that the daily backup works (typically wait until the next day)Īt an appropriate point, stop the existing service, adjust the service paths to use the new paths starting from c:\p4. Setup the scheduled tasks for daily/weekly backup and verify as appropriate. Review existing configurables and adjust as appropriate. Manually remove and recreate the links (using del and mklink /d) for directories under c:\p4 so that they point to the existing directories on e:, f: or g: (the original DEPOTDATA). In workspace, carefully check the updated files that need to be synced (recommend you review diffs one by one), and then sync them. bat files, but it shouldn’t include p4d.exe or p4s.exe as we are not updating these files. Using a different but similar workspace, which has a root directory of c:\p4, run p4 sync -k, then do a p4 reconcile to identify all the changed files - this will include most of the. Manually edit c:\p4assets\p4\config\sdp_config.ini and set the ROOT values to the existing values taken from step 2. Run 'create_env.py` to generate the new structure. Set the values for METADATA_ROOT, DEPOTDATA_ROOT and LOGDATA_ROOT to the same (dummy) value, e.g. INFO: Creating service configure commands on 'ec2amaz-lj68a4i' for instance '1' in install_services_ec2amaz-lj68a4i.batĮnsure that existing instance files are checked in to Perforce ( instance\bin and common\bin files), for example in workspace (use a root directory of %DEPOTDATA% - see next step).Įxtract existing values from p4env.bat such as mailfrom, mailhost, mailto, and also METADATA, LOGDATA and DEPOTDATAĮdit sdp_master_config.ini and set the appropriate values using extracted ones, and appropriate instance specific values. INFO: Creating instance bat file 'c:\p4\1\bin\replica-status.bat' INFO: Creating instance bat file 'c:\p4\1\bin\p4verify.bat' INFO: Creating instance bat file 'c:\p4\1\bin\daily-backup.bat' INFO: Copying 'D:\sdp\Server\Windows\setup\Master_server.id' to 'c:\p4\1\root\server.id' INFO: Copying 'D:\sdp\Server\Windows\setup\sdp_config.ini' to 'c:\p4\config' INFO: Copying 'D:\sdp\Server\Windows\setup\p4d.exe' to 'c:\p4\1\bin\p4s.exe' INFO: Copying 'D:\sdp\Server\Windows\setup\p4d.exe' to 'c:\p4\1\bin' INFO: Copying 'D:\sdp\Server\Windows\setup\p4.exe' to 'c:\p4\1\bin' INFO: Copying 'D:\sdp\Server\Windows\p4\common\bin\create-offline-db-from-checkpoint.ps1' to 'c:\p4\common\bin\create-offline-db-from-checkpoint.ps1' INFO: Copying 'D:\sdp\Server\Windows\p4\common\bin\create-offline-db-from-checkpoint.bat' to 'c:\p4\common\bin\create-offline-db-from-checkpoint.bat' INFO: Copying 'D:\sdp\Server\Windows\p4\common\bin\create-filtered-edge-checkpoint.ps1' to 'c:\p4\common\bin\create-filtered-edge-checkpoint.ps1' INFO: Creating link 'c:\p4\1\offline_db' to 'D:\p4\1\offline_db' INFO: Creating target dir 'D:\p4\1\offline_db' INFO: Creating target dir 'c:\p4\1\root\save' INFO: Creating target dir 'c:\p4\1\checkpoints'
INFO: Creating target dir 'c:\p4\1\depots' INFO: Creating target dir 'c:\p4\common\bin\triggers' INFO: Creating target dir 'c:\p4\common\bin' INFO: Creating link 'c:\p4\config' to 'D:\p4\config' INFO: Creating link 'c:\p4\common' to 'D:\p4\common' INFO: The following directories/links would be created with the -y/-yes flag INFO: Config file written: sdp_config.ini
#DOWNLOAD PERFORCE CLIENT FOR WINDOWS WINDOWS#
Upgrading an older Windows SDP installation Upgrading an existing (non SDP) Windows installation Configuring a New Instance on an existing machine Saving your configuration files in Perforce Applying configurables to the server instance Installing the Perforce Server and the SDP