WinRAR/RAR Backups - GHOST

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

WinRAR/RAR Backups - GHOST

Post by NoahPhense »

Every couple of day I create a new backup of certain structures. I always
keep 2-3 backups on file in the event something happens. Just thought
I'd share what I do. First off, about every two weeks I run a GHOST
backup, that backs up my entire Windows partition. I could literally erase
my hdd and restore it to full status in <30 minutes. It's been rare, but
those have saved my as$ a few times.

Now for what I like to call incremental backups I use WinRAR (32bit),
which comes with a command line version. I use it to do such things as
backup my dev environment, and personal backups. Here are two
of my batch files:

programming backup.bat

Code: Select all

@echo off

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\PB & IB Quick Backup.rar" "c:\program files\purebasic\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\PB & IB Quick Backup.rar" "c:\program files\IBDev\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\PB & IB Quick Backup.rar" "c:\source\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\PB & IB Quick Backup.rar" "C:\Documents and Settings\administrator\Desktop\dev\*.*"

echo.
echo.
echo Complete!
echo.
echo.
pause
And with the programming backup, after the rar is created, I rename the
file for readability. For example, my last one, done a few minutes ago:
"PureBasic 3.91 Beta 2 with TB 1.2 Alpha 0.5 & IBasic Pro 1.0 FINAL Release.rar"

user data backup.bat

Code: Select all

@echo off
cls
echo.
echo remember to open drive x:
echo.
pause
rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "C:\Documents and Settings\administrator\Local Settings\Application Data\Microsoft\Outlook\*.pst"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "C:\Program Files\Trillian\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "C:\Documents and Settings\administrator\My Documents\ADC\*.cat"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "C:\Documents and Settings\administrator\My Documents\Office Docs\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "C:\Documents and Settings\administrator\My Documents\PGP Files\*.*"

rar u -r -rr5p -av "C:\Documents and Settings\administrator\Desktop\Personal Data.rar" "X:\apps\Microsoft Money\My Money.mny"

echo.
echo.
echo Complete!
echo.
echo.
pause
The personal backup is a life saver. The first thing there for instance,
that's my outlook backup, just the main .pst file. Trillian Pro, my instant
messenger. That's a great app, and by backing it up like that, I never
have to remember my logins for AIM, MSN, ICQ, and YahooIM.

The .cat file is a disk catalog file from Advanced Disk Catalog program.
All of my data cd's are cataloged for fast finding. You get the idea..

- np