how can we reset pbspro db FROM Jobid 0
Solution 1:
- Take a backup of $PBS_HOME
- Take a pbs_diag or pbs_snapshot output
- Stop the PBS Services
- Move the old $PBS_HOME/datastore to $PBS_HOME/datastore_old
- $PBS_EXEC/etc/install_db
- Start the PBS Services
- Pipe back the configuration from the pbs_diag or pbs_snapshot backup.
Solution 2(not recommended - as mistakes might affect the integrity of the PBS datastore)
- disable the job history
- Stop the pbs services
- Update the jobidnumber in the database
- start the pbs services