transmothra: (aaiiighhh!!)
transmothra ([personal profile] transmothra) wrote2006-02-11 07:19 am
Entry tags:

backing up backups

Ho Li Qrap! i've been backing up recursively! i had less than 20Gig of free space on my 200Gig main drive! what a moron! it's taken an hour so far to delete the old backups, and it's not done yet. good fuck! i need to take smarter care of my system. i can't believe i was backing up backups.

anybody know offhand what the argument is to exclude folders, and what commenting scheme XP likes, in a batch file?

cls

c:
cd "C:\Documents and Settings\Administrator\Local Settings\Temp"
del /q /s /f *.*

cd "C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files"
del /q /s /f *.*

cd "C:\Documents and Settings\Default User\Local Settings\Temp"
del /q /s /f *.*

cd "C:\Documents and Settings\Default User\Local Settings\Temporary Internet Files"
del /q /s /f *.*

cd "C:\Documents and Settings\Owner\Local Settings\Temp"
del /q /s /f *.*

cd "C:\Documents and Settings\Owner\Local Settings\Temporary Internet Files"
del /q /s /f *.*

cleanmgr /sagerun:99

DEFRAG C:
DEFRAG D:

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Owner\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\backup-alldocs.bks" /a /d "Set created 1/7/2006 at 1:49 AM" /v:no /r:no /rs:no /hc:off /m normal /j "backup-alldocs" /l:s /f "C:\Backups\Backup latest.bkf"

exit


i am such a retard.

[identity profile] mjb.livejournal.com 2006-02-11 08:54 pm (UTC)(link)
preface comments with 'rem' (remark... yeah it's dumb)

no idea re: ntbackup.exe options.

for defrags I use PerfectDisk (fully functional trial version is downloadable, and you can remove and reinstall it after it expires) - works way better than windows defrag.exe

my current backup strategy on windows is to use winscp to sftp my important stuff to another machine on my office lan. i was using rsync from cygwin but kinda like the interface of winscp.