Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-30-2005, 07:57 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Atlanta, GA
Distribution: Suse 9.1
Posts: 4

Rep: Reputation: 0
dos xcopy to backup changes to samba

I have Samba running on my SuSe 9.1 box and have Windows XP (Home and Pro) networked to it through a DLink router. On the windows boxes I run a bat file to backup data files to the server. It uses the DOS XCOPY command with a /D switch which is supposed to only copy files that are older than a certain date. I am using it as a backup routine; the problem is the xcopy will copy the files no matter what the date is on the file. This batch file works from windows to windows but not to the SuSe machine. When I look at the dates on the Linux box from widows they look correct. Could the Samba not be sending the right date to windows for the xcopy command?
Old 02-01-2005, 07:36 AM   #2
LQ Newbie
Registered: Dec 2004
Location: Atlanta, GA
Distribution: Suse 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
I've been doing some more research and though I have not found out why this behaves like it does I think I am going to abandon the xcopy on winows for what seams like a much more powerful commandon Linux - the rsync command. The information I read at:

seams to be exactly what I am looking for in a backup script for my windows boxes.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xcopy functionality with linux? syssyphus Linux - General 12 11-27-2005 01:24 PM
Samba 3.0.8 And DOS File Attributes? batterseapower Linux - Software 2 12-14-2004 01:01 AM
Samba and DOS directory names Phaethar Linux - Software 3 04-12-2004 10:09 AM
Samba and DOS printing problem AndGuest Linux - Newbie 0 07-03-2003 07:51 PM
samba dos boot disk mnauta Linux - Networking 1 05-28-2003 02:33 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration