BackupArchiveMetadata

Differences between revisions 9 and 17 (spanning 8 versions)
Revision 9 as of 2006-10-23 17:53:05
Size: 1371
Editor: bzq-84-108-21-67
Comment:
Revision 17 as of 2008-08-06 16:41:03
Size: 1668
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Meta data file accompanying a backup (incremental/master) == == Full Backup Control File (master) ==
Line 4: Line 4:
[Time Stamp]
date="2006-10-23"
time="00:26:47"

[Archive Information]
# The file name which this meta file refers to is constructed
# by taking the UUID field, adding slice number and the extension
# in this example: 0a3e7198-d7bc-4a5f-b66f-fb8acb926737.1.dar
UUID="0a3e7198-d7bc-4a5f-b66f-fb8acb926737"
extension=".dar"
description="Backup of my tests folder in my new desktop" # verbose description of what the backup holds
type="master" # or 'diff' for a changes archive.
volumes=3 # umber of archive volumes this backup spans
orig-backup-root="/home/sivan/my-tests" # of what folder this backup was created from.
orig-backup-target-devnode="/dev/scd0" # device where this backup has been originally stored to
orig-backup-mp="/media/cdrom0" # the mount point corresponding to orig-backup-target-devnode
orig-userid="sivan" # the user account that was used to create this backup
includes-media="yes"
[Archive]
date: 2006-10-23
time: 00:26:47
UUID: 0a3e7198-d7bc-4a5f-b66f-fb8acb926737
extension: .dar
description: Backup of my tests folder in my new desktop
type: master
volumes: 3
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/scd0
backup-target-mp: /media/cdrom0
userid: sivan
includes-media: yes
home-folder-backup: no # if this is a home folder backup, hubackp should
                        # attempt to gracefully handle a userid change which results in home folder name
                        # change, so a backup-root string needs to be updated to the new folder.
Line 25: Line 23:
== Incremental Backup Control File (diff) ==

{{{
[DiffArchive]
date: 2006-10-25
time: 00:12:47
UUID: ad653f33-f373-45f6-be7c-eeebad8ca510
type: diff
volumes: 1
backup-target-devnode: /dev/sdb
backup-target-mp: /media/usbdisk
userid: sivan
includes-media: no


[Master]
date: 2006-10-23
time: 00:26:47
UUID: 0a3e7198-d7bc-4a5f-b66f-fb8acb926737
extension: .dar
description: Backup of my tests folder in my new desktop
type: master
volumes: 3
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/scd0
backup-target-mp: /media/cdrom0
userid: sivan
includes-media: yes
home-folder-backup: no

}}}

Full Backup Control File (master)

[Archive]
date: 2006-10-23
time: 00:26:47
UUID: 0a3e7198-d7bc-4a5f-b66f-fb8acb926737
extension: .dar
description: Backup of my tests folder in my new desktop
type: master
volumes: 3
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/scd0
backup-target-mp: /media/cdrom0
userid: sivan
includes-media: yes
home-folder-backup: no  # if this is a home folder backup, hubackp should
                        # attempt to gracefully handle a userid change which results in home folder name
                        # change, so a backup-root string needs to be updated to the new folder.

Incremental Backup Control File (diff)

[DiffArchive]
date: 2006-10-25
time: 00:12:47
UUID: ad653f33-f373-45f6-be7c-eeebad8ca510
type: diff
volumes: 1
backup-target-devnode: /dev/sdb
backup-target-mp: /media/usbdisk
userid: sivan
includes-media: no


[Master]
date: 2006-10-23
time: 00:26:47
UUID: 0a3e7198-d7bc-4a5f-b66f-fb8acb926737
extension: .dar
description: Backup of my tests folder in my new desktop
type: master
volumes: 3
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/scd0
backup-target-mp: /media/cdrom0
userid: sivan
includes-media: yes
home-folder-backup: no

Search Order for Backup Archive File

  • Search in cwd.
  • Attempt to find file in orig-backup-mp.
  • Attempt mount(orig-backup-target-devnode) and try to find archive in the returned mount point.

Error Checking

  • Check that first slice file is there.
  • Alert if orig-backup-root no longer exists and offer to use alternative location.

HomeUserBackup/BackupArchiveMetadata (last edited 2008-08-06 16:41:03 by localhost)