>> Don't forget to be in hotbackup mode or shutdown before copying them.
> Without using OMAN or whatever Oracle supplied utility to database
> backups, it seems to me that this is why there can be no incremental
> backups of Oracle databases.
(RMAN). Not true. As long as you either shut the database down or put
the tablespaces into hotbackup mode, you are guaranteed (by the
application), that any copy of those tablespaces plus relevant log files
will yield a consistent database. The tablespaces may still be updated
in that case, but you don't care about that.
Quote:> Any change to any row in a tablespace changes that tablespace.
True, but rsync will attempt to only copy changed blocks, so you don't
have to turn an incremental copy into an effective full copy.
Quote:> Other databases I've worked with had
> replication software in place to distribute changed tables to remote
> locations. Is there something similar for Oracle.
A common way to do that is to copy a "cold" backup (all tablespaces from
a shutdown database) to another machine and start it up with a read-only
mount. Then you copy over archive logs as they are created and apply
them. That copies over all changes and you don't need RMAN. If you
need to, you just shut down the database, modify the contol file, then
start it up and you're live on the standby system.
If you ever have a replication problem though, you'll probably have to
punt and get another cold backup to start over. The rsync method will
always make the database consistent if it runs to completion, regardless
of the initial state.
Quote:> If you're just using
> ufsdump or cp, how would you be able to do any sort of incremental
> backup? Seems you'd have to copy the entire database's state or just do
> nightly a nightly export.
You couldn't use ufsdump or cp to perform an effective incremental
because neither of those tools will allow you to copy anything less than
an entire file. rsync can be configured to copy only changed portions
of a file.
--
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >