176 lines · 3.2 KB · Text
RawDownload
.TH BACKUP 8.SH NAMEbackup, tobackup, dumparenas, restore \- backup venti arenas to blu-ray discs or restore from them.SH SYNOPSIS.B backup[.B -n] [.B -d.I dev] [.B -s.I set].br.B tobackup[.I set].br.B dumparenas.I dev.I arena\&....br.B restore.I arena-#[.I dev].SH DESCRIPTIONThese programs reside in.B /sys/lib/backupand provide a means to backup.IR venti (8)storage to Blu-ray (or other large optical) discs,while keeping track of which arenas have been written to which discs.Multiple backup sets are supported,as is (re)loading a.I ventistore from a backup thus made..PPThe first time that.I backupis run,it will dump all sealed.I ventiarenas.Thereafter,it will append only those sealed arenas not already written to a discwithin the given backup set.The.B -soption uses a backup.I setother than the default.The.B -doption uses a disc burnerother than the default.LR /dev/sdD0 .The.B -noption goes through the motions but does not burn any trackson the Blu-ray disc.As a side-effect,.I backuprun on the default dump set,.LR set1 ,will also print the last few.I fossildump scores..PP.I Tobackupprints the names of all the sealed arenas not yet backed up to a discin the current.IR set ..PP.I Dumparenascopies the named.IR arena s,one per track,to the device.IR dev ,which is first mounted via.IR cdfs (4)..I Venti/rdarenais used to extract each arena..PP.I Tobackupand.I dumparenasare invoked internally by.IR backup ..PP.I Restorecopies each data track (assumed to be a saved arena) on.I dev(by default,.LR /dev/sdC0 )into its appropriate place in the.I ventiarenas partition(locally,.BR /dev/sde0/arenas ),thus adding the arena to the current.I ventistore.The arena size of the arena partition must match the size of the arenason optical disc (except for ~60K of trailing debris on the optical disc arenas)..PP.I Arena-#must be the number (starting from zero)of the first arena slot in the arenas partition thatyou wish to restore into from the current optical disc.RI ( notnecessarily that of the first arena on the disc)..I Restorewill prompt for confirmation that the first arena is the correct one,after printing a summary of its arena header.Typing.L ywill proceed normally,.L nwill abort all processing,and.L skipwill cause.I restoreto proceed to the next track and ask for confirmation of it..PPThe arenas partition must be formatted(see.I fmtarenasin.IR venti-fmt (8))before restoring into it.When all the arenas have been restored,it will be necessary to build a new.I ventiindex,the usual steps being to run.IR checkarenas ,.IR fmtisect ,.IR fmtbloom ,.IR fmtindex ,and.IR "buildindex -b" ,all from.IR venti-fmt (8)..SH FILES.TF /sys/lib/backup.TP.B /sys/lib/backupbackup scripts and records.TP.B set1subdirectory containing records for default backup set.TP.B /sys/logsource of dump scores.SH SOURCE.B /sys/lib/backup.SH SEE ALSO.IR venti (1),.IR cdfs (4),.IR venti (8),.IR venti-fmt (8),.IR venti-backup (8).br.IR "Venti Backup on Blu-Ray Discs".SH BUGSAssumes a single arenas partition named.LR arena0 .Assumes that the file server's arenas are accessible on it as.LR /dev/fs/arena0 .