Koozali.org: home of the SME Server

Fileserver

Phillerup

Fileserver
« on: September 22, 2003, 11:02:42 PM »
Hi,
I would like to have one e-smith server at a remote location, and one at a local location.  I would like the remote system to upload all of the contents if a certain dir to the local server nightly.  Any suggestions as to how to achieve this?  Does it seem feasable to use the e-smith for these purposes?
Thanks

Greg Zartman

Re: Fileserver
« Reply #1 on: September 22, 2003, 11:13:05 PM »
Create a cron job to Rsync the contents of a remote Ibay to a local Ibay.

Regards,

Greg Zartman

Jon Roberts

Re: Fileserver
« Reply #2 on: September 26, 2003, 06:32:17 PM »
Greg Zartman wrote:
>
> Create a cron job to Rsync the contents of a remote Ibay to a
> local Ibay.
>
> Regards,
>
> Greg Zartman

Good advice & I'm sure the best option.  However, if (like me) your a bit of a novice & not sure how to do this (or just prefer the luxury of doing it via a server-manager panel), you could use the backup to workstation contrib (dmc-mitel-backup2ws-0.0.1-16.noarch.rpm).

By default this will backup in TAR format to a Windows PC, but will also use RSYNC (although I think this affects the file access rights - you may need to check this out).  I have used this to backup IBAYs to a windows workstation & it successfully replicated the files & directories.

I can't see any reason why it wouldn't backup to an IBAY on a remote e-smith, rather than a windows workstation, although I've not tried it myself.

Jon R

Sharif George

Re: Fileserver
« Reply #3 on: September 27, 2003, 05:54:34 PM »
I too have finally got my rsync backup to w/s to work but rsync to a windows box does destroy all permissions, strangely enough though it also destroyed the permissions when I done it to my RH (JAMD) workstation.

I am in the office at the moment trying to set up a new red-hat 9.0 server and I will want that to rsync so when I have figured it out . . .

backing up using rar also "seems" to lose the permissions if what I see in the Log is anything to go by.

Sharif