Re: "ultimate" backup choice
rsync _is_ the tool you want. there are other GUI based tools that use
rsync behind the scenes
rsync will only transfer the changes !!! this is good
2 suggestions:
rsync -a /etc root@$ServerB:/tmp/
- syncs the whole contents of Server A's etc into /tmp on SeverB
- uses ssh which is great and does not add significative overhead
- u'd need to adjust the directory names as needed
rsync -avv -c --delete --perms --acls
/etc root@$ServerB:/tmp/
- does the same as above with additional options
-a: archive mode (read man rsync)
-vv: more verbosity (help understanding what rsync id doing)
-c: compare files on both ends by checksums (read man rsync)
--delete: delete files on remote end if were deleted in the origin (u
might or might not want this)
--perms: preserve permissions
--acls: preserver POSIX acls
please make sure you read the man concerning all these options and you
test things before going into production
cheers
Joao
On Sat, 2010-12-11 at 04:17 -0800, S Mathias wrote:
> i have:
> "SERVER A"
> "SERVER B"
>
> with "full root permisson" [ssh, etc]
>
> each server has a folder.
>
> i want to backup a folder in "SERVER A".
>
> are there any backup methods, that meets these two requirements? :
>
>
> 1) running from e.g.: a cronjob
>
> 2) when running, it just checks the folder in "SERVER A" and "SERVER
> B". if a file/folder has been added/removed/modified in the "SERVER
> A"'s folder, then it copies/removes it/them to "SERVER B"'s folder.
>
>
>
>
> please help!
>
> Thank you in advance! [for any links, howtos :\ ]
>
> have a nice weekend
>
Reply to: