BackupArchiveMetadata

Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2006-10-22 22:53:21
Size: 390
Editor: bzq-84-108-21-67
Comment:
Revision 16 as of 2006-10-25 15:25:26
Size: 1668
Editor: bzq-84-108-224-118
Comment:
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:
[Creation Time]
date="2006-10-23"
time="00:26:47"
[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 8: Line 21:
[Archive Information]
description="Backup of my home 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
root="/home/sivan"
}}}

== 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
Line 15: Line 38:
[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
Line 16: Line 54:

=== 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.

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)