LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dos xcopy to backup changes to samba (https://www.linuxquestions.org/questions/linux-software-2/dos-xcopy-to-backup-changes-to-samba-284263/)

susewho 01-30-2005 07:57 PM

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?

susewho 02-01-2005 07:36 AM

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:

http://www.mikerubel.org/computers/rsync_snapshots/

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

David


All times are GMT -5. The time now is 05:48 AM.