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.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. IP Networking
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
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
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
5. Windows & DOS: Issues & Discussions
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
6. UNIX for Advanced & Expert Users
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Red Hat
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
10. How to Post in the The UNIX and Linux Forums
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
LEARN ABOUT ULTRIX
mhpath
mhpath(1mh) mhpath(1mh)
Name
mhpath - print full pathnames of MH messages and folders
Syntax
mhpath [ +foldername ] [ msgs ] [ -help ]
Description
Use the command to display the full pathname of the specified folder. If you do not specify a folder, displays the pathname of the current
folder.
If you specify a message with its message number, displays the pathname of the specified message. You can also specify a number of mes-
sages, or a range of messages. If the top of the range that you specify is greater than the last message in the folder, displays as much
of the specified range as possible.
Additionally can take a keyword or a sequence name. The following keywords are acceptable:
first The first message in the folder.
last The last message in the folder.
new The message after the last message in the folder. You cannot use new as part of a message range.
cur The current message in the folder.
prev The message before the current message.
next The message after the current message.
all All of the messages in the folder.
Options
-help Prints a list of the valid options to this command.
Examples
In the following example, displays message 3 in the folder
% mhpath +inbox 3
/r/phyl/Mail/inbox
The following example displays the pathname of messages 2 to 5 in the current folder:
% mhpath 2-5
/r/phyl/Mail/inbox/2
/r/phyl/Mail/inbox/3
/r/phyl/Mail/inbox/4
/r/phyl/Mail/inbox/5
Profile Components
Path: To determine your Mail directory
Files
The user profile.
See Also
folder(1mh)
mhpath(1mh)