198
Copyright © Acronis, Inc., 2000-2010
Your script can move older backups based on the date stamp.
See also “The [Date] variable” (p. 200).
Example 3. Hourly backups within a day
Consider the following scenario:
You want to perform hourly backups of your server's critical files every day.
You want the first backup of each day to be full and to run at midnight; and the subsequent
backups of the day to be differential and to run at 01:00, 02:00, and so on.
You want to keep older backups in the archive.
In this scenario, create a backup plan with a daily schedule. When creating the backup plan, specify
ServerFiles([Date])
as the archive name, select the
Name backup files using the archive name...
check box, specify
Differential
as the backup type, and schedule the backups to run every hour from
midnight.
Result:
The 24 backups of January 1, 2011, will be stored as ServerFiles(1.1.2011).tib,
ServerFiles(1.1.2011)2.tib, and so on up to ServerFiles(1.1.2011)24.tib.
The following day, the backups will start with the full backup ServerFiles(1.2.2011).tib.
See also "The [Date] variable" (p. 200).
Example 4. Daily full backups with daily drive swaps
Consider the following scenario:
You want to perform daily full backups of your machine to the file
MyMachine.tib
on an external
hard disk drive.
You have two such drives. Either of them has the drive letter
D
when attached to the machine.
You want to swap the drives before each backup, so that one drive contains today’s backup and
the other drive yesterday’s backup.
You want each new backup to replace the backup on the currently attached drive.
In this scenario, create a backup plan with a daily schedule. When creating the backup plan, specify
MyMachine
as the archive name and
D:\
as the archive location, select the
Name backup files using
the archive name...
check box, and select
Full
as the backup type.
Result.
Each hard disk drive will contain one full backup. While one drive is attached to the machine,
you can keep the other drive off-site for extra data protection.
Example 5. Daily backups with weekly drive swaps
Consider the following scenario:
You want to perform daily backups of your machine: a full backup each Monday and incremental
backups on Tuesday through Sunday.
You want to back up to the archive
MyMachine
on an external hard disk drive.
You have two such drives. Either of them has drive letter
D
in the operating system when
attached to the machine.