12.07.2015 Views

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

IBM Tivoli Storage Manager for UNIX and Linux: Backup-Archive ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|||||||||||||||ACTIVEDelete only active file objects. Directory objects are not deleted. This is thedefault.Note: If there are any inactive objects, then after the active object isdeleted, the most current inactive object will be changed frominactive to active.To delete all versions of a file, first issue the delete backup comm<strong>and</strong> with-deltype=inactive, then issue the comm<strong>and</strong> again with -deltype=active.INACTIVEDelete only inactive file objects. Directory objects are not deleted.ALLDelete all active <strong>and</strong> inactive objects below a given directory, including allsubdirectories <strong>and</strong> their files.Note: The parent directory of the deleted files <strong>and</strong> subdirectories is notdeleted.filespecSpecifies the path <strong>and</strong> file name that you want to delete from storage.When using -deltype=inactive or -deltype=active, use wildcard characters tospecify a group of files or all files in a directory.When using -deltype=all, specify a fully-wildcarded directory.objtypeSpecifies the type of backup delete you want to per<strong>for</strong>m. You can specify eitherof the following values:FILESpecifies that you want to delete directories <strong>and</strong> files. This is the default.IMAGESpecifies that you want to delete an image backup.ExamplesTask Delete all active <strong>and</strong> inactive file objects named budget in directory/data/plan/proj1.Comm<strong>and</strong>s:delete backup /data/plan/proj1/budget.jan -deltype=inactivedelete backup /data/plan/proj1/budget.jan -deltype=activeNote: To delete active <strong>and</strong> inactive file objects, you must first delete theinactive objects, followed by the active objects.Task Delete all inactive files with names ending in .txt backed up from the/data/plan/proj1 directory <strong>and</strong> its subdirectories.Comm<strong>and</strong>: delete backup "/data/plan/proj1/*.txt" -deltype=inactive-subdir=yesTask Delete selected active files backed up from the /home/marymb/projectdirectory. Use the -pick option to display a list of backup copies that matchthe file specification. From the list, you can select which versions to delete.Comm<strong>and</strong>: delete backup "/home/marymb/project/*" -pickChapter 10. Using comm<strong>and</strong>s 421

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!