IMPORTANT:
upgrade folder../ipmssys
stop
cd <C-InTracer-Home>
upgrade folder,
copy Backup.sh and C-InTracer-InstallValues.txt to <C-InTracer-Home>
./Backup.sh
1.
<valid-location>.
Your configuration information is now available at <valid-location>/C-InTracer-InstallValues.txt
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/3rdparty/postgres/lib
<C-InTracer-Home>/3rdparty/postgres/bin/pg_start
./3rdparty/postgres/bin/pg_dump
-p <POSTGRES_PORT> ipmsdb > <data_backup_path>/ipmsdb.backup
;
IMPORTANT:
<C-InTracer-Home>/3rdparty/postgres/bin/pg_stop
<Install_dir>/data/QS/scheduled_queries/ to
a specific directory to be retrieved later.
./Uninstall_InTracer/Uninstall_InTracer
< C-InTracer-Home>,
using console mode, entering the same configuration details as previous
installation. Copy the data backed up in Step 4 under <C-Intracer-Home>/data/QS/scheduled_queries/ directory.
cd <C-InTracer-Home>
./ipmssys
start
./ipmssys
stop
<C-InTracer-Home>/3rdparty/postgres/bin/pg_start
./3rdparty/postgres/bin/psql
-U <username> -p <POSTGRES_PORT> template1
drop
database ipmsdb;
create
database ipmsdb;
\q
./3rdparty/postgres/bin/psql
-d ipmsdb -f <data_backup_path>/ipmsdb.backup
-p <POSTGRES_PORT>
<C-InTracer-Home> :
update_postgres1.sql
update_postgres2.sql
sync_C.py
sync_R.py
sync_T.py
Backup.sh
update_postgres1.sql file
on the database, using the command
./3rdparty/postgres/bin/psql
-U <username> -d ipmsdb -p <POSTGRES_PORT> -f update_postgres1.sql
./Backup.sh
4 - Restore.
set_paths.txt document
in upgrade folder.
python sync_C.py;
python sync_R.py; python sync_T.py
update_postgres2.sql file
on the database by executing the command
./3rdparty/postgres/bin/psql
-U <username> -d ipmsdb -p <POSTGRES_PORT> -f update_postgres2.sql
./ipmssys
start
./ipmssys stop
IMPORTANT:
upgrade folder../ipmssys
stop
cd <R-InTracer-Home>
upgrade folder,
copy Backup.sh and R-InTracer-InstallValues.txt to <R-InTracer-Home>.
./Backup.sh
2.
<valid-location>.
Your configuration information is now available at <valid-location>/R-InTracer-InstallValues.txt.
./ipmssys
stop
tar -cvf nodal_data.tar intracer_data
IMPORTANT:
cp nodal_data.tar
<data_backup_path>
IMPORTANT:
./Uninstall_InTracer/Uninstall_InTracer
<R-InTracer-Home>,
using console mode, entering the same configuration details as previous
installation.
cd <R-InTracer-Home>
./ipmssys
start
./ipmssys
stop
rm -rf intracer_data
cp <data_backup_path>/nodal_data.tar
.
tar -xvf nodal_data.tar
rm nodal_data.tar
./ipmssys start
IMPORTANT:
upgrade folder../ipmssys
stop
cd <R-TCE-Home>
upgrade folder,
copy Backup.sh and R-TCE-Home-InstallValues.txt to <R-TCE-Home>
./Backup.sh
3.
<valid-location>.
Your configuration information is now available at <valid-location>/R-TCE-InstallValues.txt
./ipmssys
stop
cd ./data/TCE/<TCE_NAME>
tar -cvf 3gpp_data.tar
events
cp 3gpp_data.tar
<data_backup_path>
IMPORTANT:
./Uninstall_InTracer/Uninstall_InTracer
<R-TCE-Home>,
using console mode, entering the same configuration details as previous installation.
cd <R-TCE-Home>
./ipmssys
start
./ipmssys
stop
cd ./data/TCE/<TCE_NAME>
rm -rf events
cp <data_backup_path>/3gpp_data.tar
tar -xvf 3gpp_data.tar
rm 3gpp_data.tar
./ipmssys start
./ipmssys
stop;./ipmssys start