# Undo

If you do something regretable in Beyond Compare, how can you get your old files back?

In TextCompare, there is undo: Ctl-Z

In FolderSync there is NOT an undo.   You have to enable "BackupFilesBeforeCopy"  or "BackupFilesBeforeSave".  These settings are in Tools->Options->Backups

When those are turned on you will start to see lots of files accumulate that have a .bak suffix.  (You can set this suffix to other options at Tools->Options->Backups.)  Here is a folder with a file and its backup file:&#x20;

![](/files/-LZ0K8yw9ibLpgxPdbQX)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://beyondcompare.gitbook.io/project/other/undo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
