7 replies
by hereinoz
I am assuming that you are reasonably familiar with writing a batch file. If not, then this answer will be relatively useless!
Lets assume, for the sake of demonstration, that your MP3s are in C:\My Documents\My Music\MP3, and the folder you want to put them in to is the same path on the other machine, which I shall call "remote". You will have your own name for it.
Firstly map a drive, on the machine that houses the MP3s, to the folder on the destination PC where you want to copy the MP3s. Lets say you call this mapped drive, M:
You would then map a drive to the source folder that contains your MP3s - again this mapping is done on the machine that holds the MP3s, not the backup machine - there is a reason for this "internal mapping" as I will explain later. Let's say that you call this drive S:
You then write a batch file with the command like
copy s:\*.mp3 m: /y
Save the batch file as, say, copymp3.bat
Using the Windows Scheduler, create a scheduled job to run the batch file at a specified time each night and it will copy all the files in your source MP3 folder (S:), over to the folder to which you have mapped drive M:, overwriting any existing files of the same name in the process.
The reason that I suggest mapping the local MP3 folder on the source machine is that when you run a batch file, it often doesn't like the long filenames like "My Documents", so rather than suggest that you write the command in the batch file in 8.3 format (mydocu~1) I opted to use the drive mapping technique.
The one proviso in all of this is that both machines need to be on, and connected to the network for this to happen. I know that this seems like a "no-brainer" but I have been called out for exactly that - the overnight backup didn't work, and when I could find no reason, I asked whether the machines had been switched on, and, you guessed it, they had turned them both off as they left for the night!
Any queries, email me.
Alan
by w2ktechman
I agree with the other, except Xcopy has many more options, like using the archive bit (with attrib) to only copy new files added, or changed. This means that you dont have to overwrite everything, everytime.
An alternative, is to burn them to disk. That should give a decent backup and cd's are pretty cheap.
by courtney
The problem I see with this setup is that it will copy over files that have not changed that day. Meaning that every night I will be coping 40 to 60GB of data between PC's, that would always run. (It is also a WI-Fi network) .
Hasn't someone made some software for this.
by sgt_shultz
check out Directory Replicator from www.blochweb.com. my users demand it.
for myself, i use robocopy.exe from the tools folder on the nt4 server cd in a scheduled batch file. robocopy has switches that will exactly replicate, if you want. they made me reconsider just how exactly i did want to replicate. anyway, the readme is worth it, not the usual fare, very well explained, with examples. if you want a roll your own no cost solution this is one way i have used.
by wyrmlord
by courtney
by courtney
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending