Nettoyer les sauvegardes TSM

Contexte
Vous souhaitez réaliser un nettoyage de sauvegarde obsolète sur votre serveur IBM Tivoli Storage Manager. Vous allez vérifier les points de sauvegardes et supprimer les anciens.

select 'del filespace ' || node_name || ' ' || cast(FILESPACE_ID as char(3)) || ' type=backup nametype=fsid wait=yes' AS COMMAND from filespaces where cast((current_timestamp-backup_end)days as decimal)>90
q occ
select NODE_NAME, FILESPACE_NAME, BACKUP_DATE, TYPE, CLASS_NAME from backups where NODE_NAME like 'NAS1' and FILESPACE_NAME='/collections' order by BACKUP_DATE
del filespace NAS1 25  type=backup nametype=fsid wait=yes

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.