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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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