Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows 2000 backup command

Status
Not open for further replies.

Amphrodite1

Technical User
Oct 17, 2002
134
OM
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
 
is that the only file in that directory?? If so just create a batch file to delete that file 5mins before the backup is due.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top