[Dxbase] a .bat file backup system
FireBrick
w9ol at billnjudy.com
Wed Oct 19 13:06:26 EDT 2005
I've spent the morning re-organizing my .bat file to save all my DXBase
data/files/settings, etc.
I put the file on my web site and is available for download.
http://mywebpages.comcast.net/w9ol/reports/DXBUP_ATTACHMENT.txt
you can download it and edit it with Notepad to fit the file/dir names you use.
As you can see I use shorter/easier to type directory names.
When you finish edititing, save it with a .bat extension.
I made a shortcut on my desktop for manual backups. I also have Windows Scheduler to
automagic backups at night in case I forgot.
I use Xcopy with the attributes of /D /Y /R so it only backs up files that have changed
since the last backup.
If you wish to cut/paste, you can use the following text.
NOTE:!!!!
This is NOT a replacement for the DXButility.
And make sure you test your version for typos before relying on it as your sole life
jacket.
rem OCT 19 2005
rem This Section saves important DXB files to the D drive on a the Main Computer.
Xcopy "C:\DXB6\*.co" "D:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\*.mdb" "D:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\*.txt" "D:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\*.ini" "D:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\DxBase Install Files" "D:\DXB6\" /D /Y /R
Xcopy "C:\WINDOWS\system32\drivers\etc\hosts" "D:\DXB6\" /D /Y /R
rem This Section saves important DXB files to the F drive (WHICH IS A 1G FLASHDRIVE) on
Main Computer.
Xcopy "C:\DXB6\*.co" "F:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\*.mdb" "F:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\*.ini" "F:\DXB6\" /D /Y /R
Xcopy "C:\WINDOWS\Dxb2006.ini" "F:\DXB6\" /D /Y /R
Xcopy "C:\DXB6\DxBase Install Files" "F:\DXB6\" /D /Y /R
Xcopy "C:\WINDOWS\system32\drivers\etc\hosts" "F:\DXB6\" /D /Y /R
rem This Section saves important DXB files to the C drive on a networked Backup Computer.
Xcopy "C:\DXB6\*.co" "\\HS2\C\DB6\" /D /Y /R
Xcopy "C:\DXB6\*.mdb" "\\HS2\C\DB6\" /D /Y /R
Xcopy "C:\DXB6\*.txt" "\\HS2\C\DB6\" /D /Y /R
Xcopy "C:\DXB6\*.ini" "\\HS2\C\DB6\" /D /Y /R
Xcopy "C:\WINDOWS\DXB2006.ini" "\\HS2\C\DXB6\" /D /Y /R
Xcopy "C:\WINDOWS\system32\drivers\etc\hosts" "\\HS2\C\DXB6\" /D /Y /RXcopy
"C:\DXB6\DxBase Install Files" "\\HS2\C\DB6\" /D /Y /R
-----------------------------------------------------
Keyboard not found. Press any key to continue
-----------------------------------------------------
Bill H. in Chicagoland
More information about the Dxbase
mailing list