Backing up to a ZIP drive

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Backing up to a ZIP drive

Post by Marcus Tettmar » Mon Jan 19, 1998 12:00 am

Contributed By: Steve Bullard [email protected]
Submitted On: 19/01/98

This macro is used in conjunction with an ini file which looks like this :

[BACKUPNAME]
set=test

REM
REM This macro provides automated deletion of an old backups and creation of a new backup.
REM It was written for Iomega ZIP which unfortunately won't do incremental backups,
REM nor is there enough disk space can't store multiple *.qic backups on the same disk.
REM
REM I put the macro into the System Agent to run on alternate days so that by changing disk
REM I can create a Backup Archive

Label>Preset
Let>fileset=d:\
Let>fileqic=d:\

Label>Find out the Backup name
REM You can either create an INI file to automatically read in the name of the backup set,
REM Or get the macro to prompt for an Input by 'remming out' the ReadIni and 'un remming the Input line
ReadIniFile>d:ackup.ini,backupname,set,file
REM Input>file,Input the name of the set Backup

ConCat>fileset,file
ConCat>fileqic,file
ConCat>fileset,.set
ConCat>fileqic,*.qic

IfFileExists>fileset,Backup_exists
Message>Insert Disk which contains the Backup Set. And then restart this Macro
Goto>End

Label>Backup_exists
DeleteFile>fileqic
Let>autoback=C:\Program Files\Accessories\BACKUP.EXE
ConCat>autoback,fileset


Run Program>autoback
Wait>2
IfWindowOpen>Microsoft Backup,Continue
Message>Backup failed to start
Goto>End

Label>Continue
Press Enter
Goto>Complete

Label>Complete

Goto>End

Label>End

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts