FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 10-23-2008, 04:31 PM
"David Hláčik"
Default rsync mirroring

Hello guys,

we have a production server named prod-server
we have a mirror server named storage-server .

I want to mirror a downloadsite on production server to a mirror
server , but i want to keep all files from production server on mirror
server .

More explicitly.

If i will have a file named "myproduct.exe" on production server ,
which is allready mirrored on mirror server , and i will delete it on
production server, i want to have an original file renamed to
myproduct.exe_DATE_OF_DELETION and then new myproduct.exe normally
mirrored as before.
Basically - I want to backup all changes

I am syncing using

rsync -avz .........

Should i add --backup --suffix = $(date) and thats it?

Thanks in advance!

CentOS mailing list
Old 10-26-2008, 02:40 AM
Default rsync mirroring

In article <cba415ca0810230931m73aa411ew36884474f67bb9e@mail. gmail.com>,
David Hlik <centos@centos.org> wrote:

>Should i add --backup --suffix = $(date) and thats it?

Why not just setup a test and see?


CentOS mailing list

Thread Tools

All times are GMT. The time now is 12:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org