Amphrodite1
Technical User
Hi All
In our bank we are using db2 in a windows2000 server
and taking backup every day. Unfortunately becaz of the shotage of space we have to delete the previous days backup every current date. The operates are confused becaz of that and deleting some other files. So i want to create a batch file then it will clear the previous date backup. But the problem is how we will give the command to clear the backup of one day before the current date. Pls advice me. The backup tree is like this.
tibackup/db2/sql0001/node001/20030619/192543.001 (this is the time stamb)
on 20th i want to delete 19th backup on 21st 20th like this sequence pls advice.
thanx
In our bank we are using db2 in a windows2000 server
and taking backup every day. Unfortunately becaz of the shotage of space we have to delete the previous days backup every current date. The operates are confused becaz of that and deleting some other files. So i want to create a batch file then it will clear the previous date backup. But the problem is how we will give the command to clear the backup of one day before the current date. Pls advice me. The backup tree is like this.
tibackup/db2/sql0001/node001/20030619/192543.001 (this is the time stamb)
on 20th i want to delete 19th backup on 21st 20th like this sequence pls advice.
thanx