PC上需要OVI套件和Nokia2AndroidSMS,安卓手机上需要SMS backup&restore。
打开Nokia2AndroidSMS,它会自动搜索ovi套件的短信数据库,然后点Convert,在同一目录中会出现一个xml文件。
将这个xml文件拷贝到安致手机里SMS backup&restore的目录里,然后运行SMS b&r,restore选择文件就行了。
要是找不到这个文件的目录,先运行之后backup一次,就能找到了。
我用的挺成功,有介绍说会有些乱码。但是我用的是391版本SMS b&r,没乱码,很正常。
以下以安装在windows下的客户端还原为例。
将一个空的 NoRestrictions 文件放在备份其他客户端的策略所在的 NetBackup 主服务器上。在以下位置创建一个 altnames 目录,然后在其中放入空文件:
Install_path\NetBackup\db\altnames\NoRestrictions
打开开始->程序->Symantec Netbackup->Backup,Archive,and Restore
选择Specify NetBackup Machines and policy Type
编辑客户端列表,增加需要还原目的主机名,指定原主机和目的主机名,以及策略类别
找出需要恢复的文件
选择Actions->Restore
双击修改还原路径,指定目的主机的路径
点击Start Restore开始恢复
在恢复完成后进程状态上会出现Successful。在恢复目录可以看到恢复过来的文件。
1
、
建立连接
[root@localhost ~]#
su - oracle
[oracle@localhost ~]$
cd /usr/openv/netbackup/bin
[oracle@localhost bin]$
/oracle_link
2012
年
08
月
25
日星期六
09:43:28 CST
All Oracle instances should be shutdown before running this script
Please log into the Unix system as the Oracle owner for running this script
Do you want to continue (y/n) [n] y
LIBOBK path: /usr/openv/netbackup/bin
ORACLE_HOME: /orcl/oracle
Oracle version: 102010
Platform type: i686
Linking LIBOBK:
ln -s /usr/openv/netbackup/bin/libobkso /orcl/oracle/lib/libobkso
Done
Please check the trace file located in /tmp/make_trace4459
to make sure the linking process was successful
2
、
创建备份脚本
[root@localhost ~]#
mkdir -p /usr/openv/netbackup/script
[root@localhost ~]#
cd /usr/openv/netbackup/ext/db_ext/oracle/samples/rman
[root@localhostrman]#
ls
cold_database_backupsh
database_restoresh
hot_tablespace_backupsh
cold_duplex_database_backup_fullsh
hot_database_backupsh
pit_database_restoresh
[root@localhostrman]#
cp hot_database_backupsh /usr/openv/netbackup/script/
[root@localhostrman]#
cd /usr/openv/netbackup/script/
[root@localhost script]#
ls
hot_database_backupsh
[root@localhost script]#
mv hot_database_backupsh rmansh
[root@localhost script]#
chmodo+x rmansh
[root@localhost script]#
vi rmansh
#!/bin/sh
# $Header: hot_database_backupsh,v 12 2002/08/06 23:51:42 $
#
#bcpyrght
#
# $VRTScprght: Copyright 1993 - 2008 Symantec Corporation, All Rights Reserved $
#
#ecpyrght
#
# ---------------------------------------------------------------------------
#
hot_database_backupsh
# ---------------------------------------------------------------------------
#
This script uses Recovery Manager to take a hot (inconsistent) database
#
backup A hot backup is inconsistent because portions of the database are
#
being modified and written to the disk while the backup is progressing
#
You must run your database in ARCHIVELOG mode to make hot backups It is
#
assumed that this script will be executed by user root In order for RMAN
#
to work properly we switch user (su -) to the oracle dba account before
#
execution If this script runs under a user account that has Oracle dba
#
privilege, it will be executed using this user's account
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Determine the user which is executing this script
# ---------------------------------------------------------------------------
CUSER=`id |cut -d"(" -f2 | cut -d ")" -f1`
# ---------------------------------------------------------------------------
# Put output in <this file name>out Change as desired
# Note: output directory requires write permission
# ---------------------------------------------------------------------------
RMAN_LOG_FILE=${0}out
# ---------------------------------------------------------------------------
# You may want to delete the output file so that backup information does
# not accumulate
If not, delete the following lines
# ---------------------------------------------------------------------------
if [ -f "$RMAN_LOG_FILE" ]
then
rm -f "$RMAN_LOG_FILE"
fi
# -----------------------------------------------------------------
# Initialize the log file
# -----------------------------------------------------------------
echo>> $RMAN_LOG_FILE
chmod 666 $RMAN_LOG_FILE
# ---------------------------------------------------------------------------
# Log the start of this script
# ---------------------------------------------------------------------------
echo Script $0 >> $RMAN_LOG_FILE
echo ==== started on `date` ==== >> $RMAN_LOG_FILE
echo>> $RMAN_LOG_FILE
# ---------------------------------------------------------------------------
# Replace /db/oracle/product/ora81, below, with the Oracle home path
# ---------------------------------------------------------------------------
ORACLE_HOME=/u01/app/oracle/product/1120/
export ORACLE_HOME
Oracle HOME
目录,可通过
env
命令查出
# ---------------------------------------------------------------------------
# Replace ora81, below, with the Oracle SID of the target database
# ---------------------------------------------------------------------------
ORACLE_SID=orcl
export ORACLE_SID
Oracle
实例名
# ---------------------------------------------------------------------------
# Replace ora81, below, with the Oracle DBA user id (account)
# ---------------------------------------------------------------------------
ORACLE_USER=oracle
Oracle
系统账户
# ---------------------------------------------------------------------------
# Set the target connect string
# Replace "sys/manager", below, with the target connect string
# ---------------------------------------------------------------------------
TARGET_CONNECT_STR=sys/Qweasd123
Sys
用户及其密码
# ---------------------------------------------------------------------------
# Set the Oracle Recovery Manager name
# ---------------------------------------------------------------------------
RMAN=$ORACLE_HOME/bin/rman
以上就是关于nbu文件怎么移植到安卓手机上 刚用诺基亚PC套件备份了 里面的短信很重要 想把备份的短信移植到新手机上全部的内容,包括:nbu文件怎么移植到安卓手机上 刚用诺基亚PC套件备份了 里面的短信很重要 想把备份的短信移植到新手机上、NBU7.6异机恢复步骤、nbu7.5备份oracle怎么设置脚本等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)