Thank you and appreciate your help. The script works like a charm.
$BackupDirectories{db1} = "E:\\Scripts\\Backup\\DBTest1.0\\DBTest1\\NODE0000\\CATN0000\\" ;
$ArchiveDirectories{db1} = "E:\\Scripts\\ArchivedLogs\\DBTest1\\DBTest1\\NODE0000\\C0000009\\" ;
$BackupDirectories{db2} =...
Thanks,
The archived files are located in a different folder structure other then the backup folder location.
I have modified the script but the issue will be for the second DBTest2 Archived database folder structure "E:\\Scripts\\ArchivedLogs\\DBTest2\\DBTest2\\NODE0000\\C0000009".
DATABASE...
Hi Annihilannic
I was trying to make a few modifications to the script.
We had it to delete backups older then X number of days under $Directory = "E:\\Scripts\\Backup\\$database";
There were archived logs generated by the database and I wanted to perform the similar delete operation as we...
Thanks,
The script works like charm. While testing the script, I was wondering if there is a way to perform file check for today date as well within the if statement. Because all the dated folders contains the backup image file for the same date. If not then we can keep as is because it is...
Thanks,
I have modified the script as per your loop recomendation.
The requirement is that when a full backup is on Saturday then the database will generate a folder date "20090919" and under this folder that's where database will backupthe backup image file "220004.001".
The perl script...
Hello,
I have a perl script which deletes the folders by date but my goal is to check if a folder and file was created by capturing dates from folders and files and then execute the delete. If the folder and files do not exist then do nothing.
The below script only delete folders by date:
##...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.