rsync to backup windows file on a linux box


 
Thread Tools Search this Thread
Operating Systems Linux rsync to backup windows file on a linux box
# 1  
Old 12-17-2010
rsync to backup windows file on a linux box

Hi,

Do you know how to pass comand to rsync to backup a windows folder on a linux box?

I want to copy c:\\folder from windows to /data/tmp on linux.

I dont know how to pass the windows parameter to:
rsync -avz 192.168.1.4\c:\\folder /data/tmp

Thanks.

Charles.
# 2  
Old 12-17-2010
here is an in-depth tutorial for rsyncing a windows client to a linux server. It seems to be /cygdrive/c/... not c:\\... though if you're not using the cygwin rsync on windows it may be different.
# 3  
Old 12-17-2010
but I forgot to say that rsync is run on the linux disk server, the windows side is not doing anything but being backed up by the rsync (linux).
# 4  
Old 12-17-2010
rsync can't just reach in and grab data from a computer. It won't work unless you're running an rsync server on windows for it to connect to. Here's another set of docs on that.

It's much more straightforward to run the server on linux than windows.
This User Gave Thanks to Corona688 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Copying , renaming the file from windox box and ftp to Linux box

Hello my dear friends, Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory. is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies

2. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

3. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

4. Shell Programming and Scripting

help to access windows share from linux box

how to access windows share from a linux box windows machin is in different workgroup so how to pass credentials whil acessing a share from a script (2 Replies)
Discussion started by: robo
2 Replies

5. UNIX for Advanced & Expert Users

Help connecting linux box to Windows - winbindd problem

Hi experts - I hope you can help me. I am trying to resolve Windows host names (aka Netbios names, aka "UNC names) from a Linux box. I have added "dns wins" to the "hosts" line at /etc/nsswitch.conf, and installed samba 3.2.2 and ran "winbindd -D". Now, when I go: "wbinfo -N venus" (where... (1 Reply)
Discussion started by: maryg
1 Replies

6. Windows & DOS: Issues & Discussions

psftp from linux box to windows

Hi all pro I had a script from windows to put diff file from the linux box but i had stuck on it ,how to play around with the %1 @echo off "C:\putty\psftp" linux@1.1.1.1 -pw password -bc -b getfile.scr --getfile.scr lcd "C:\DATA" cd logs/ mget %1 Thanks jiajin (0 Replies)
Discussion started by: lijiajin
0 Replies

7. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

8. Shell Programming and Scripting

Script to Reboot a linux box from a windows box

HI All, I need a script to reboot a linux box from a windows box. The script needs to run automatically whenever a sitescope alerts with an error message. Have searched for this in the forums, but could not get something relative. Pls. let me know the various alternatives we have to do... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

9. IP Networking

Can see my linux box from unix but from windows based

I have a company lan, we have workstations and we have servers. I have 3 unix servers, and 2 linux servers. I can ping one of the linux servers from windows, but the other one gets no reply, However, from my unix boxes i can telnet AND ping both linux boxes. The 2 linux boxes are on different... (4 Replies)
Discussion started by: kymberm
4 Replies

10. UNIX for Advanced & Expert Users

Backup To Windows Box

Hi, We have one server (RedHat 7.1) in our department that has websrvr and dB. We do not have a b/u device for this server. I have been tasked with backing up one of our databases to a shared folder on a windows box. That box is backed up via Veritas NetBackup to our DLT jukebox (which I... (2 Replies)
Discussion started by: vancouver_joe
2 Replies
Login or Register to Ask a Question