Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Change project name and volume ID ?

Change project name and volume ID ? 8 months 1 week ago #10289

  • brunad
  • brunad's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 222
  • Karma: 0
Hello,

-I have make a copy of a project (clone) by "copy project" in the project list gui to make a variant.
How to change name of the project in all database and change volume Id. Maybe there is a script for that ?


/Bruno
Last Edit: 8 months 1 week ago by brunad.
The administrator has disabled public write access.

Change project name and volume ID ? 8 months 1 week ago #10290

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2706
  • Karma: 0
Hi Bruno,

The system name is changed in the System object in the directory volume.

To change the volume id you have to dump the volume to text file end edit the dump file.

- add the new volume in global volumelist ($pwra_db/pwr_volumelist.dat).
- run reload.sh and execute the 'dumpdb' pass.
- edit $pwrp_db/'volumename'.wb_dmp and change the volumeid on the first row.
- if you also want to change the volume name, also replace all occurences of the volume name in the file and change the filename to 'newvolumename.wb_dmp'. Change the name of RootVolumeConfig and RootVolumeLoad objects in the directory volume.
- run reload.sh and execute 'renamedb' and 'loaddb'.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 2.226 seconds