Hi,
While I was making some room by deleting old archivelogs through asmcmd, I accidentally managed to delete the whole archivelogs directory and its contents. I'm not even sure how I did it, but I presume it was by adding an extra space after the rm -r command and the first slash (e.g. rm -r[highlight #EF2929] / [/highlight] 2021_11_02/ 2021_11_03/ instead of rm -r[highlight #73D216] /[/highlight]2021_11_02/ 2021_11_03/).
To try and salvage something, I've manually recreated the directory with mkdir ARCHIVELOGS, even though now it reads SYS N instead of SYS Y (not sure if that would have negative repercussions).
I was wondering if there was some sort of recycling bin, for lack of a better expression, where I could go to retrieve the archivelogs I deleted in error, or if there was a command I could use to recover the data.
Thankfully this was in a test environment, but I'd be very grateful if anyone had any suggestions.
Many thanks.
While I was making some room by deleting old archivelogs through asmcmd, I accidentally managed to delete the whole archivelogs directory and its contents. I'm not even sure how I did it, but I presume it was by adding an extra space after the rm -r command and the first slash (e.g. rm -r[highlight #EF2929] / [/highlight] 2021_11_02/ 2021_11_03/ instead of rm -r[highlight #73D216] /[/highlight]2021_11_02/ 2021_11_03/).
To try and salvage something, I've manually recreated the directory with mkdir ARCHIVELOGS, even though now it reads SYS N instead of SYS Y (not sure if that would have negative repercussions).
I was wondering if there was some sort of recycling bin, for lack of a better expression, where I could go to retrieve the archivelogs I deleted in error, or if there was a command I could use to recover the data.
Thankfully this was in a test environment, but I'd be very grateful if anyone had any suggestions.
Many thanks.