3 replies
by kennysweeney Accepted solution
by maxwell edison Accepted solution
I use a simple DOS batch file (backup.bat) that I created. The command lines of the file could look like this:
[i][b]d:
cd itunes_bu
xcopy "c:\Documents and Settings\User\My Documents\My Music\itunes\"*.*/s/d/y
c:
echo off
echo .
echo .
echo .
echo .
echo .... "Backup of itunes completed" ....
echo .
echo .
echo .
echo .
pause[/i][/b]
Notes:
1. The first line in my example shows d: as the backup drive, but it should be whatever your particular external drive designation is.
2. The second line may or may not be necessary, but shows a folder on the external drive (called itunes_bu).
2. The third line should show whatever path to your itunes folder (on the C-Drive) as necessary. The "quotes" are necessary only if there are spaces in some of the path directories (and there probably are).
3. You could stop after only those two or three lines, but the rest of it will keep the command window open until you close it. This just gives a visual that it was indeed completed.
4. You can schedule the batch file to run with Windows Scheduler at whatever time and/or increment you'd like. I run mine daily.
5. The /s will force a copy of all subdirectories as well. As such, you could just stop at "My Documents", for example, and backup not only the itunes folder, but all of the files and folders contained in My Documents.
6. The /d will force an incremental backup, that is ONLY the files and/or folders that are new or newer. It recognizes the newer date, and will not redundantly copy files that have not been changed.
7. The /y will force a yes answer to the overwrite confirmation.
8. Do an Internet search of DOS Batch Files, and you'll get a lot of ideas of how you might customize yours.
by kennysweeney Accepted solution
This discussion is closed to new replies.
Trending Hardware posts
Sort by Trending