BookmarkSubscribeRSS Feed
arnab61
Calcite | Level 5

I have mistakenly executed one data step that updated one of the permanent tables. Can anybody tell me is there any way to restore the data sets with the earlier version??

I will highly appreciate if anybody comesback with a quick and fast solution..

3 REPLIES 3
LinusH
Tourmaline | Level 20

Assuming that you can't programmatically restore the tables to it's previous state, there are just a few thing that can help you:

  • File system restore, contact the responsible personnel for backups.
  • The Base SAS table is stored as generations, see documentation how to rollback to an earlier version.
  • The table is under audit trail. You can you programming to extract the changes from the trail and update the table accordingly.
Data never sleeps
sas_9
Obsidian | Level 7

I guess IT support always has physical backup for all your server drive (D:\, E:\ whatever) and retention for daily physical content also should be there. you can use their help...


data_null__
Jade | Level 19

In future you may want to add ACCESS=READONLY to your libname statements.

Or you can add ALTER or WRITE passwords to the data set you don't want to change.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 5032 views
  • 0 likes
  • 4 in conversation