On Sun, 7 Aug 2005, Michael Ben-Nes wrote:

> >>I want to backup a file constantly as it change.
> >>
> >>Is it possible at all ?
> >
> >please define what "backup a file constantly" means for you.
>
> Yep, having an exact _current_ copy all the time on two storage system.
> Its the WAL ( Write ahead log ) of the postgresql DB.
> Its updated on any DB action.
> So i assume it will be quite Long and will change every sec or less.
> I would like to keep the backup on a another computer. NFS and such.

then you are looking for disk mirroring, which can be achieved with
linux's md (multiple-disks, or multiple-devices) driver - i.e. the
software RAID system, in level 1 (mirroring). google for it.

you could also achieve disk mirroring using a hardware RAID controller -
which will mean buying extra hardware.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to