Submitted by WayneK on 2022/05/29 11:39

Is having an undo that works for deleted items something that's on the list to do?  Would it be possible to have a recycle bin where permanently deleted items are held for a second, final deletion, like in Windows?

My ultimate wish would be a full undo that would reverse any InfoQube action.  To my mind, this would be one of the most valuable feature additions ever made and would remove a lot of uncertainty that seems inherent in a complex program (ie Why did that just happen?  Ok, let me reverse it and try again to see if I can understand what's going on).  I realize this probably isn't possible.

Wayne

Win10, 120Pre13

 

Comments

Hi Wayne,

Undoing item deletes is not really on the radar but could be added if there is enough demand. 

For now, it is easy enough to XML copy - paste from the backup to your file (IQ has many backup options)

OK, consider my post a vote "for" and maybe others, over time, will express an interest.

The backup option isn't that helpful when you don't know what you deleted.  One of the most common errors for me is to delete something and then discover I had the wrong item selected and I don't know what just disappeared.  I guess I could do a minute-by-minute backup and just restore the whole file but even then you're losing some work that was done since the last backup (however short).

Recently, it took me two hours to recover deleted items because of unanticipated recovery problems.   Really hard not to think of the value of an undo in that situation.

 

Maybe an option to copy the item text of items that are being deleted to a DeletedItems field. Bring that up as a grid and you will have a reference of what to look for and restore from your backups?

Would it be possible to do something similar to what Ecco (+Ecco Extension) is doing?

After each change in the file (not just deletion of an item), a backup copy is automatically saved. I have 8 backup copies; .bk1, bk2, ...bk8 in the queue and the files are automatically overwritten so that the latest copy is always bk1 and bk8 is the oldest.

When something happens, I stop working with my Ecco file and I open bk1 (or later if I made several changes).

I have read the page about backup but, unless I am missing something, it backs up the database at timed intervals?
That is very important to do, but not what I was referring to with the Ecco Feature.

Ecco creates a rolling backup after each change in the database.

I can set IQ to back up every minute, but a lot can happen in 1 minute! In Ecco, it is possible to revert back to my database going back to any of the last eight changes that I made.

Is that somehow possible with IQ?

p.s. Your link is incorrect. It points to https://infoqubeim.com/drupal5/index.php/comment/reply/node/5557/commen…, but it should point to: https://infoqubeim.com/drupal5/node/987 (3. Backup your database, Encryption)

In v120Pre16:

  • New: View recently deleted items. Tools > Options > This Database > Data Storage > Recently deleted items. List item IDs. Click the button to view these items in a backup IQBase. Use XML copy / paste to restore deleted items

I think Pierre has created a very good solution. I too have this problem from time to time (in fact just 5 minutes ago), as described by WayneK. I look forward to 116. Thank you Pierre.
Greg

General Discussion