blog:simple_backup_procedure_for_windows_c_t_bff
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:simple_backup_procedure_for_windows_c_t_bff [2009-05-27 08:51] – brb | blog:simple_backup_procedure_for_windows_c_t_bff [2009-06-14 08:49] (current) – brb | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Simple backup procedure for windows (c't bff) ====== | ====== Simple backup procedure for windows (c't bff) ====== | ||
- | Backing up your files should be fast and easy, so that you can do it regularly. In the german computer magazine c' | + | Backing up your files should be fast and easy, so that you make a backup every day (or at least weekly if you are lazy and your work is not so important :-\). In the german |
* works on any windows machine, without installing additional software! | * works on any windows machine, without installing additional software! | ||
* runs very fast | * runs very fast | ||
* gives a report of the result of the backup | * gives a report of the result of the backup | ||
- | For windows XP machines, here is the script: | + | ===== ===== |
+ | |||
+ | Setup of the bff.bat script: | ||
+ | - think where you will store your backups. You need a drive letter to store your backups to. This can be a thumb drive or a network drive. | ||
+ | - start notepad, copy-paste the script below into notepad. Change the values of '' | ||
+ | - safe the file as bff.bat | ||
+ | - Here are some ideas on how to run the bff.bat script, from the simple to more sophisticated. | ||
+ | * Place a link to bff.bat on your desktop | ||
+ | * Place a link to bff.bat in your autostart script | ||
+ | * place bff.bat on an external drive, and create an autorun.ini so that bff.bat automatically runs when the drive is plugged in. | ||
+ | |||
+ | Notes: | ||
+ | * For a more sophisticated backup using rsync see http:// | ||
+ | * If you don't have windiff on your machine, you can install the [[http:// | ||
+ | |||
+ | For windows XP machines, here is the script. You can find the zipfile for all windows versions on the [[http:// | ||
<code winbatch> | <code winbatch> | ||
set Quelle=" | set Quelle=" | ||
- | |||
set Ziel=" | set Ziel=" | ||
- | |||
set templog=" | set templog=" | ||
- | |||
; | ; | ||
- | |||
echo . >> | echo . >> | ||
- | |||
echo Starte Backup: %date% %time% von %Quelle% nach %Ziel% >> | echo Starte Backup: %date% %time% von %Quelle% nach %Ziel% >> | ||
- | |||
md %Ziel% | md %Ziel% | ||
- | |||
xcopy %Quelle% %Ziel% /m /s /v /c /i /f /h /k /o /x /y >> | xcopy %Quelle% %Ziel% /m /s /v /c /i /f /h /k /o /x /y >> | ||
- | |||
echo Starte Überprüfung >> | echo Starte Überprüfung >> | ||
- | |||
start /w windiff.exe -Sdx %templog% -T %Ziel% %quelle% | start /w windiff.exe -Sdx %templog% -T %Ziel% %quelle% | ||
- | |||
find " | find " | ||
- | |||
echo Fertig >> | echo Fertig >> | ||
- | |||
start notepad.exe %windir%\backup.log | start notepad.exe %windir%\backup.log | ||
- | |||
; | ; | ||
- | |||
rem Erstellt 2003 von Axel Vahldiek / c't | rem Erstellt 2003 von Axel Vahldiek / c't | ||
- | |||
rem mailto: axv@ctmagazin.de | rem mailto: axv@ctmagazin.de | ||
</ | </ |
blog/simple_backup_procedure_for_windows_c_t_bff.1243407109.txt.gz · Last modified: 2009-05-27 08:51 by brb