I forgot I also use PKZIP and run command level to copy a zip backup directory on a 2nd drive in a Windows machine. I put a datatime on the zip file so I can go back on backup versions. The code that I use with PKZIP is below if you are interested is below.
*********
This command is scheduled with Windows scheduler and changes directory to "c:\data" where the data is..
** backup starts next....:: Batch program to compress daily backup for storage on CD-R
@echo off
cls:: Create environment variables with today's date values.
setlocal
for/f "tokens=1-4 delims=/ " %%i in ('date/t') do (
set Day=%%i
set MM=%%j
set DD=%%k
set YYYY=%%l
):: This batch program assumes that your scheduled backup file is saved:: as D:\Backup\Backup.bkf. If you use a different folder or file:: name, replace the values in the following lines.
cd C:\data:: Use PkZIPC nZip Command Line Support to backup
"pkzipc" -add -recurse -path D:/Backup/zip/data/B%YYYY%-%MM%-%DD%.zip *.*:: cls
echo The backup has been compressed and saved as B%YYYY%-%MM%-%DD%.zip.
echo.
goto end:end:: xcopy "c:\Backup\zip\data\*.*" d:\backup\zip\data\*.*/d/e/c/S:: pause
endlocal
I have a local Microsoft Homeserver for onsite backups. I also have an external drive encrypted with TruCrypt (opensource) where I spin off every 90 days my loved ones (files) just in case the house burns down. I take this external drive to work and lock it in my file cabinet. It is encrypted to make it difficult for anyone to steal the data but not the drive. I have too much data (like most people) between pictures, music and other personal data to play with uploading to the internet or writing to any optical disk. Obviously my risk is that both drive copies die at the same time.
I forgot I also use PKZIP and run command level to copy a zip backup directory on a 2nd drive in a Windows machine. I put a datatime on the zip file so I can go back on backup versions. The code that I use with PKZIP is below if you are interested is below. ********* This command is scheduled with Windows scheduler and changes directory to "c:\data" where the data is.. ** backup starts next.... :: Batch program to compress daily backup for storage on CD-R
@echo off
cls :: Create environment variables with today's date values.
setlocal
for /f "tokens=1-4 delims=/ " %%i in ('date /t') do (
set Day=%%i
set MM=%%j
set DD=%%k
set YYYY=%%l
) :: This batch program assumes that your scheduled backup file is saved :: as D:\Backup\Backup.bkf. If you use a different folder or file :: name, replace the values in the following lines.
cd C:\data :: Use PkZIPC nZip Command Line Support to backup
"pkzipc" -add -recurse -path D:/Backup/zip/data/B%YYYY%-%MM%-%DD%.zip *.* :: cls
echo The backup has been compressed and saved as B%YYYY%-%MM%-%DD%.zip.
echo.
goto end :end :: xcopy "c:\Backup\zip\data\*.*" d:\backup\zip\data\*.* /d/e/c/S :: pause
endlocal
I have a local Microsoft Homeserver for onsite backups. I also have an external drive encrypted with TruCrypt (opensource) where I spin off every 90 days my loved ones (files) just in case the house burns down. I take this external drive to work and lock it in my file cabinet. It is encrypted to make it difficult for anyone to steal the data but not the drive. I have too much data (like most people) between pictures, music and other personal data to play with uploading to the internet or writing to any optical disk. Obviously my risk is that both drive copies die at the same time.