[Orca-users] Re: duplicate data files
Liston Bias
list2002 at bias.org
Fri Sep 13 13:28:05 PDT 2002
>From the clients, I currently rsync to two locations... one for the
non-bz2 files and one for bz2 compressed. I actually put the
non-compressed files in /tmp with rrd which seems to help with
performance, but they will obviously be gone if system crashes.
- Liston
# No delete parameter so can purge local bz2 files
${RSYNC} -va --include '*bz2' --exclude='*' ${ORCADATA}/${IAMSRC}/
orca@${RSYNCSERV}::orcapast/${IAMDEST}/
# RSYNC CURRENT non-bz2 files
${RSYNC} -va --delete --exclude 'orcallator.pid' --exclude '*bz2'
${ORCADATA}/${IAMSRC}/ orca@${RSYNCSERV}::orcanow/${IAMDEST}/
On Fri, 13 Sep 2002, Sean O'Neill wrote:
> At 05:48 PM 9/13/2002 +0000, jannev66 wrote:
> >How will orca react to having the same data file twice, one
> >compressed and one not?
> >
> >orcallator-2002-09-13-000
> >orcallator-2002-09-13-000.Z
> >
> >The uncompressed file gets sent every 15 minutes during the day, and
> >the compressed file gets sent one per day (after the daily restart.)
> >Perhaps I'll write a script on the server to clean up the
> >uncompressed files, but I'm just curious how orca will deal with this.
>
> You thought about using rsync with the --delete switch ? This will
> automagically take care of this house cleaning for you. Works great.
>
>
> --
> ........................................................
> ......... ..- -. .. -..- .-. ..- .-.. . ... ............
> .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
>
> Sean O'Neill
>
>
More information about the Orca-users
mailing list