Jianping Zhu pravi:

On Wed, Sep 17, 2003 at 10:26:05AM -0500, MKlinke wrote:


On Wednesday 17 September 2003 14:04, Jianping Zhu wrote:


On Mon, Sep 15, 2003 at 04:45:34PM -0700, Rhugga wrote:


Jianping Zhu wrote:


I have a windows xp which has 120GB HDD. I have a redhat7.1
machine. I want to using rsync to back up redhat to winxp, how
can i do that?

thnak


Create a directory on the windows system and share it. Mount the
windows share onto the Linux system. Now you can rsync.

Here is how to mount a windows share:

/bin/mount -t smbfs -o username=<windows
username>,password=<windows password> //<windows host>/<windows
share>  /mnt/data

Example:

/bin/mount -t smbfs -o username=bgates,password=moron
//windoze/data    /mnt/data

Here is how to rsync: (Note the are many options to rsync, these
are just the ones I use)

rsync -rvlopgtu /path/to/linux/data /mnt/data/

Hope this helps,
Chuck


When i do accoring to your instruction i got follow msg, what i goint
on here, how to fix this problem?
Thanks:


[EMAIL PROTECTED] /root]# /bin/mount -t smbfs -o username=jzhu,
password=jissn18033
//blackduck/milo/test /mnt/data



Loose the "space" between the comma and the word "password" if it exists.



Regards, Mike Klinke





Thanks for advice. the problem solved
One more question, is there a way i can set up my linux server to automacitally mount 
windows share every time i start the server so I can automate to rsync process?
:
Thanks




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list






Add mount lines to /etc/rc.d/rc.local and it will be mounted automatically. BUT don't forget that you need to have windowz allready running before starting server othervise it won't be mounted.


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to