Backup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I keep more backup copies of the same files or folder???I would like
to execute the backup every day and rename the backup file with the date.For
Example

Backup12052006.bkf
Backup13052006.bkf
Backup14052006.bkf

now it only overwrite the file so i have only the last copy.

Thanks
Francesco
 
Howdy!

francesco_Italy said:
How can I keep more backup copies of the same files or folder???I would like
to execute the backup every day and rename the backup file with the date.For
Example

Backup12052006.bkf
Backup13052006.bkf
Backup14052006.bkf

Here's the NTBackup reference for Windows XP:
http://www.microsoft.com/resources/...proddocs/en-us/ntbackup_command.mspx?mfr=true

And here Jerold's example of a nightly backup:
http://www.jsifaq.com/SUBE/tip2200/rh2265.htm

Do these resources help you?

cheers,

Florian
 
Florian Frommherz said:
Howdy!



Here's the NTBackup reference for Windows XP:
http://www.microsoft.com/resources/...proddocs/en-us/ntbackup_command.mspx?mfr=true

And here Jerold's example of a nightly backup:
http://www.jsifaq.com/SUBE/tip2200/rh2265.htm

Do these resources help you?

cheers,

Florian

yes thanks,these resouces help me to know better backup issues.
But maybe the simplest thing to do for me it's to schedule one backup for
each day and rename the file with the prefix monday,sunday....

Francesco
 
Below is a batch I made to run as a scheduled task for one of my clients.
It includes the date in the backup name. This particular file is for a tape
backup on a Windows 2000 machine and may require some modifications for your
use, but is provided as a general example. Watch re. word wrap in the
message.

rem DailyBackup.cmd GTS
rem Updated 3:48 PM 5/26/2004 Run by scheduler

for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%

C:\WINNT\system32\NTBACKUP.EXE backup "@C:\BackupSets\DailyBackup.bks" /n
"Media created %dtt%" /d "FullBackup created %dtt%" /v:yes /r:no /rs:no
/hc:on /m normal /j "Daily Backup on %dtt%" /l:s /um /p "4mm DDS"

cls
exit
 
Back
Top