# Pt-Archiver for a Total Idiot

**URL:** https://forums.percona.com/t/pt-archiver-for-a-total-idiot/4736
**Category:** Percona Toolkit
**Created:** [February 20, 2016, 7:54am UTC](https://forums.percona.com/t/pt-archiver-for-a-total-idiot/4736 "2016-02-20T07:54:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![htfdik](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@htfdik](https://forums.percona.com/u/htfdik)
#### Post date: [February 20, 2016, 7:54am UTC](https://forums.percona.com/t/pt-archiver-for-a-total-idiot/4736/1 "2016-02-20T07:54:04Z")

</div>

I’m a total idiot, or at least you can treat me like one when it comes to pt-achrciver.  
I’ve downloaded the tar.gz file and unpacked it. So as of now its just sitting in a directory on my harddrive with a vacant look on its face. From the documentation I see that I also need Perl so I downloaded that too and installed that too, in the C:\perl64. I’m running mySQL 5.6 on windows 64bit and use it via mySQL workbench, which I really like. I have little experience with mySQL apart from writing queries and generally messing up the database. So, my question is - how in gods name do I use pt-Archiver?  
I’ve seen examples such as the one below but have no idea where to run this from. I appreciate that it may on the surface appear a very dumb question but after several hours I’m still missing that eurika moment and would appreciate some guidance just to get me started.

```auto
pt-archiver --source h=oltp_server,D=test,t=tbl --dest h=olap_server \ --file '/var/log/archive/%Y-%m-%d-%D.%t' \ --where "1=1" --limit 1000 --commit-each

```
