# Retaining & Removing Election Files

### Retaining Election Files

After certification of an election and before configuring a new election, all election files and data should be saved and election package removed from the previous election.

VotingWorks recommends retaining the following files after each election:

* [ ] VxAdmin results file
* [ ] VxAdmin tally reports
* [ ] VxAdmin log file
* [ ] VxScan CVRs
* [ ] VxScan log file
* [ ] VxCentralScan backup (if applicable - see [Retaining and Removing files - VxCS](/vxsuite-user-manual-v3.1/vxcentralscan/retaining-and-removing-files-vxcs.md))
* [ ] VxCentralScan log file (if applicable - see [Retaining and Removing files - VxCS](/vxsuite-user-manual-v3.1/vxcentralscan/retaining-and-removing-files-vxcs.md))

{% hint style="warning" %}
**Note**: Ballots should have been secured post-tabulation. Follow state guidelines to ensure proper retention.
{% endhint %}

### VxAdmin&#x20;

To save the recommended VxAdmin files, follow these steps when logged in as an Election Manager:

1. Select Reports from the side menu, select *`Full Election Tally Report`*, select *`Export Report PDF.`*
2. Then select *`Export Report CSV`*.

<div><figure><img src="/files/00xLxEW7m17EiK3kp3aJ" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="/files/Pg19Pfb51AqPQEjLUoxC" alt="" width="375"><figcaption></figcaption></figure></div>

Next lock the machine and log in as a System Administrator. Select Settings from the side menu and *`Save Log File`*. Machine log files are saved in the /logs folder on the USB drive.

<figure><img src="/files/YsO3ANvtymvNTt0tLMCF" alt="" width="266"><figcaption></figcaption></figure>

### VxScan CVR Files

VxScan CVRs include the VxScan's CVRs and ballot images. The log file contains the logs. To save the VxScan files, [setup the VxScan](/vxsuite-user-manual-v3.1/election-day-guides/vxscan-setup.md) without the ballot box and follow the following steps:

1. Insert Election Manager Card
2. Select CVRs and Logs from the side menu
3. Insert a USB drive
4. Select *`Save Log File`*
5. Select *`Save CVRs`*

<figure><img src="/files/odM93V9mQeqRfPf65QHd" alt="" width="265"><figcaption></figcaption></figure>

{% hint style="info" %}
**Log files** contain records of user interactions with the machine (e.g., election officials and poll workers unlocking the machine, voters casting ballots, etc.) as well as internal system information (e.g., the status of paper running through the scanner, errors, etc.). [A detailed description for each event in the log can be found in Github](https://github.com/votingworks/vxsuite/blob/main/libs/logging/VotingWorksLoggingDocumentation.md).
{% endhint %}

### Removing Election Files

In VxAdmin, log in with a System Administrator Card, select Election from the side menu and select *`Unconfigure Machine`*.

<figure><img src="/files/KC8IgF8Z4YcAWiTePVZR" alt="" width="267"><figcaption></figcaption></figure>

In VxScan, insert an Election Manager Card and select *`Unconfigure Machine`*.

<figure><img src="/files/roFIg6OZ3tngT5NaoLUU" alt="" width="268"><figcaption></figcaption></figure>


---

# 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://docs.voting.works/vxsuite-user-manual-v3.1/after-election-night/retaining-and-removing-election-files.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.
