偶然看到一个比较好用的工具Trash-Cli。一个类似垃圾桶的机制,可以恢复文件。试了一下,感觉还行 (1)下载安装: https://github.com/andreafrancia/trash-cli (2)使用方法: ...
分类:
其他好文 时间:
2019-12-07 18:11:52
阅读次数:
126
APPLIES TO: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]Oracle Database - Enterprise Edition - Version 1 ...
分类:
数据库 时间:
2019-12-05 18:33:06
阅读次数:
122
How To Restore Rman Backups On A Different Node When The Directory Structures Are Different (Doc ID 419137.1) APPLIES TO: Oracle Database - Enterprise ...
分类:
其他好文 时间:
2019-12-05 17:11:21
阅读次数:
99
typeset用于设置变量属性,如大小写,宽度,左右对齐等都可以用typeset来控制, 当用typeset改变一个变量的属性时,这种改变是永久的,下面以ksh为例,演示typeset的几种典型用法 1,无选项的执行typeset,则显示所有变量 1 [root@localhost restore] ...
分类:
系统相关 时间:
2019-12-04 13:04:08
阅读次数:
134
RESTORE database 数据库名字 with recovery restore 只是用备份来还原,recover是用archivelog或者online log 举例说明: 假设我时间点A,做了个备份,时间点B数据库挂了 restore database ;// 这个操作利用时间点A做的备 ...
分类:
其他好文 时间:
2019-12-02 16:41:56
阅读次数:
102
原因分析 1)管理器不会主动刷新,需要手工刷新一下才能看到最新状态(性能方面的考虑) 2)很少情况下,恢复进程被挂起了。这个时候假设你要恢复并且回到可访问状态,要执行: 代码如下 复制代码 RESTORE database dbname with recovery 这使得恢复过程能完全结束。 ...
分类:
数据库 时间:
2019-12-02 13:23:09
阅读次数:
96
mysql 完整性备份 及备份注意事项 describe user; //查看表describe mysql.user // describe 可以简写成desccreate databese abc; //创建数据库show databases; 相当于是/var/lib/mysql/这里面会出现 ...
分类:
数据库 时间:
2019-11-30 12:06:59
阅读次数:
145
1.切换到postgres用户 : sudo su - postgres 2.在shell命令行下,创建数据库exampledb,并指定所有者为dbuser : sudo -u postgres -O dbuser exampledb 3. 导入数据库: pg_restore -d createdb ...
分类:
数据库 时间:
2019-11-29 15:42:53
阅读次数:
281
效果图: 知识点: 1、ctx.save(); //保存ctx状态 ctx.restore();//回到之前ctx的状态 一般ctx.save()与ctx.restore()是成对出现的,比如我们在绘图的时候需要使用多种颜色,颜色需要不时的切换。那么使用save()和restore()方法即可比较方 ...
分类:
其他好文 时间:
2019-11-21 23:10:47
阅读次数:
131
一:创建项目 添加 csproj (或者直接NuGet 引用) 二:还原包, CLI 命令 dotnet restore 三:DBFirst 创建脚手架,映射 CLI 命令:dotnet ef dbcontext scaffold "Server=127.0.0.1;port=3306;user=x ...
分类:
数据库 时间:
2019-11-19 12:23:24
阅读次数:
96