# 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 the 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-v4/vxcentralscan/retaining-and-removing-files-vxcentralscan.md))
* [ ] VxCentralScan log file (if applicable - see [Retaining and Removing files - VxCS](/vxsuite-user-manual-v4/vxcentralscan/retaining-and-removing-files-vxcentralscan.md))
* [ ] VxMarkScan log file (if applicable - see [Retaining and Removing Files - VxMarkScan](/vxsuite-user-manual-v4/vxmarkscan/retaining-and-removing-files.md))

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

All election data should be retained for at least 22 months in the following storage conditions:

* Temperature: 5C-40C (41F-104F)
* Relative humidity: 5% to 85%, non-condensing

All VotingWorks paper records and USB drives are specified to last at least 22 months when stored in these conditions.

###

### VxAdmin

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

* [ ] Select *`Reports`* from the side menu, select *`Full Election Tally Report`*, select *`Export Report PDF`*
* [ ] Then select *`Export Report CSV`*

<div><figure><img src="/files/OvDg0FIXULPqQPEpthxv" alt=""><figcaption></figcaption></figure> <figure><img src="/files/iVpc1tBr3EqToT7h4Nl6" alt=""><figcaption></figcaption></figure></div>

Next select *`Settings`* from the side menu and *`Save Logs`*. Machine log files are saved in the /logs folder on the USB drive.

<figure><img src="/files/KOAKIG3p7iBGfQXzLJC0" alt="" width="375"><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-v4/election-day-guides/vxscan-setup.md) without the ballot box and follow the following steps:

* [ ] Insert election manager card
* [ ] Select *`CVRs and Logs`* from the side menu
* [ ] Insert a USB drive
* [ ] Select *`Save CVRs`*
* [ ] Selec&#x74;*`Save Logs`*

<figure><img src="/files/Lir6SjjR6XTJbLwbdDDO" alt="" width="375"><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/P8rhkxIXIIWGmGv2uhUr" alt="" width="375"><figcaption></figcaption></figure>

In VxScan, log in with an election manager card and select *`Unconfigure Machine`*.

<figure><img src="/files/wGLNJ1R0nnuX1ILWNZDO" alt="" width="375"><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-v4/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.
