Save & Restore from command line
Posted: 25 Feb 2008 08:54
Hello everybody !
By default, the system backup only the mao data files, and the chorus data files.
The following commands will help you if you want to save or restore database, voice guide, accounting ... from the command line or automatically :
Save operations :
You can use root user to launch the command because under mtcl user, the swinst account password will be asked.
Where param is :
You can schedule the save operation using crontab, for exmple :
Under root
Add the line (using vi command) : 0 4 * * * /DHS3bin/soft_install/bin/bck -save acd>/dev/null 2>&1
This will perform a save operations of all the acd files under /usr4/BACKUP/IMMED/ every day at 4 am.
Restore operations :
Place your backup file in the directory /usr4/BACKUP/IMMED/ directory and then launch the command :
You can use root user to launch the command be cause under mtcl user, the swinst account password will be asked.
Where param is :
By default, the system backup only the mao data files, and the chorus data files.
The following commands will help you if you want to save or restore database, voice guide, accounting ... from the command line or automatically :
Save operations :
You can use root user to launch the command because under mtcl user, the swinst account password will be asked.
Code: Select all
[root@xa000000 root]# /DHS3bin/soft_install/bin/bck -save param- - mao :save of the Mao
- - mao-acc :save of the Mao, Voice guides, Accounting
- - acc :save of the Accounting data
- - acd :save of the ACD data (statistics) and configuration files
- - vg :save of the Voice Guides
- - mao-dat :save of the Mao data files (this is the save operations scheduled by default by the system
- - obstraf :save of the Traffic observation files
- - cho-dat :save of the Linux specific data
- - noe :save of the 8&9 series customized files
You can schedule the save operation using crontab, for exmple :
Under root
Code: Select all
[root@xa000000 root]# crontab -eThis will perform a save operations of all the acd files under /usr4/BACKUP/IMMED/ every day at 4 am.
Restore operations :
Place your backup file in the directory /usr4/BACKUP/IMMED/ directory and then launch the command :
Code: Select all
[root@xa000000 root]# /DHS3bin/soft_install/bin/bck -restore [b]param[/b]Where param is :
- - mao :restore Mao files
- - mao-acc :restore the Mao, Voice guides, Accounting
- - acc : restore the Accounting data
- - acd :restore the ACD data (statistics) and configuration files
- - vg :restore the Voice Guides
- - mao-dat :restore the Mao data files (this is the save operations scheduled by default by the system
- - obstraf :restore the Traffic observation files
- - cho-dat :restore the Linux specific data
- - noe :restore the 8&9 series customized files