⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 restoredata.sh

📁 gnugk软交换产品
💻 SH
字号:
#!/bin/bash## This script restores data from a previously generated database dump.# The database should be empty (no data, only table definitions) prior# to the restore operation. Use dumpdata.sh script to dump data to a file.## Usage:#   restoredata < dumpecho "Restoring data from the database dump..."DBUSER=gkradiusDBSUPERUSER=postgresDBSERVER=localhostDBEXTRAOPTS=DUMPTYPE="-a --disable-triggers"pg_restore $DUMPTYPE -S $DBSUPERUSER -U $DBUSER -h $DBSERVER $DBEXTRAOPTS -d voipdb

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -