简体   繁体   English

Oracle:如何设置数据库备份到网络驱动器

[英]Oracle: How to setup a database backup to a network drive

Oracle database 11g. Oracle数据库11g。 What is the easiest way to set up a full nightly database backup to a network drive (ie drive on another computer)? 将完整的每晚数据库备份设置到网络驱动器(即另一台计算机上的驱动器)的最简单方法是什么?

Read the backup and recovery guide. 阅读备份和恢复指南。

Don't just backup... Make sure you test your backup, regularly!! 不只是备份...确保定期测试备份!

If you have Grid Control setup the easiest way would be to use the web interface. 如果设置了Grid Control,最简单的方法就是使用Web界面。 The interface allows you to specify a unc path (\\computer\\share name). 该界面允许您指定unc路径(\\ computer \\ share name)。 You will have to create a share on the remote computer. 您将必须在远程计算机上创建共享。

If you don't have Grid Control you can create a script that uses RMAN . 如果没有Grid Control,则可以创建使用RMAN的脚本。 If you need script specifics it would be helpful to know what OS your database is on. 如果您需要脚本说明,那么了解数据库所使用的操作系统将很有帮助。

You need a backup strategy. 您需要一个备份策略。 Once you have defined that you will see what options are available to suit your needs. 定义后,您将看到可以使用哪些选项来满足您的需求。

mount the network drive, use rman to fully backup the db to the network drive. 挂载网络驱动器,使用rman将数据库完全备份到网络驱动器。 Rman can do it hot. Rman可以做到这一点。 Another method is to export full but you'll have to flush all writes and put the db into restricted mode so no user can make changes while you export to get a full consistent backup. 另一种方法是导出完整的备份,但是您必须清除所有写入并将数据库置于受限模式,以便在导出完整备份时没有用户可以进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM