• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

MySQL Enterprise Backup & TDPO

DanGiles

ADSM.ORG Senior Member
#1
I am surprised I don't see any posts around this. I've installed and configured TDP for Oracle with MySQL Enterprise Backup (MEB) and successfully did a couple of backups. What I cannot find anywhere though is how to expire the backups! If all backups use the same name, then they'd become inactive and would expire off, but then how would you use MEB to restore a previous version of a backup? If you give them unique time-stamped names, then you can specify the file/timestamp to restore, but they would always remain active.
Ha! I thought. Use "dsmc delete file xx -optfile=/opt/tivoli/tsm/client/oracle/bin64/dsm.opt". BUT, if I use this format to "query backup", I cannot find any backups :(
So, has anyone set this up? If not, does anyone know how I can use the dsmc command to look at "Oracle" backups?
 

marclant

ADSM.ORG Moderator
#2
You can't query data backed up using the API with the client. You have to query the backup using the same tool that backed it up. Idem for expiring old backups.

You can also query the backups from the TSM Server, but that's probably not helpful in your situation:
select * from backups where node_name='NODENAME' and filespace_name='FILESPACE_NAME'

It wasn't designed for this, but you could use the DEACTIVATE DATA command on the TSM Server. It was designed to expire old orphan backups that do not show in RMAN, but are still on the TSM Server. It would work for what you want to do, even if it's not the intent of the command.
 

DanGiles

ADSM.ORG Senior Member
#3
I kinda figured that, but the deactivate data works nicely. It looks like we'll have to use that for MySQL data. Kinda kludgy, but what can you do?

Thanks marclant.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 18 18.8%
  • Keep using TSM for Spectrum Protect.

    Votes: 58 60.4%
  • Let's be formal and just say Spectrum Protect

    Votes: 12 12.5%
  • Other (please comement)

    Votes: 8 8.3%

Forum statistics

Threads
31,636
Messages
134,829
Members
21,670
Latest member
crypticsh
Top