From: Josh F. <jf...@pv...> - 2006-12-12 20:51:15
|
Attached is the latest version of the Bacula Removable Disk Howto in HTML and LaTeX formats. The attachment also includes the vchanger shell script and an example config file this time. The vcahnger script was updated to fix a bug (thanks to Michael Fung for pointing that out) and to keep the bacula-sd user as owner of files/directories when run as root. Also, a purge command was added to delete all volumes on the currently loaded magazine and then re-create them. In addition to deleteing the volume files for each slot from the magazine's filesystem, a 'delete volume' command is piped to bconsole to delete the volumes from the catalog. A 'label barcodes' command is then piped to bconsole to recreate the volumes and place them in the Scratch pool. In effect, it purges and recycles the entire magazine. Use with extreme cation! Enjoy! Josh |