BackupArchiveMetadata

Differences between revisions 11 and 12
Revision 11 as of 2006-10-25 11:40:37
Size: 874
Editor: bzq-84-108-224-118
Comment:
Revision 12 as of 2006-10-25 13:00:52
Size: 1714
Editor: bzq-84-108-224-118
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
=== Full Backup Control File ===
Line 4: Line 6:
[TimeStamp] [Archive]
Line 7: Line 9:

[Archive]
Line 12: Line 12:
type: master # or 'diff' for a changes archive.
volumes: 3# umber of archive volumes this backup spans
backup-root: /home/sivan/my-tests 
backup-target-devnode: /dev/scd0 
backup-target-mp: /media/cdrom0 
type: master
volumes: 3
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/scd0
backup-target-mp: /media/cdrom0
Line 19: Line 19:
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 ===

{{{
[Archive]
date: 2006-10-25
time: 00:12:47
type: diff
volumes: 1
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/sdb
backup-target-mp: /media/usbdisk
userid: sivan
includes-media: no


[MyMaster]
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

Meta data file accompanying a backup (incremental/master)

Full Backup Control File

[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

[Archive]
date: 2006-10-25
time: 00:12:47
type: diff
volumes: 1
backup-root: /home/sivan/my-tests
backup-target-devnode: /dev/sdb
backup-target-mp: /media/usbdisk
userid: sivan
includes-media: no


[MyMaster]
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)