# innobackupex --apply-log source and destination folder?

**URL:** <https://forums.percona.com/t/innobackupex-apply-log-source-and-destination-folder/5636>\
**Category:** Percona XtraBackup\
**Created:** [May 24, 2017, 2:14am UTC](https://forums.percona.com/t/innobackupex-apply-log-source-and-destination-folder/5636 "2017-05-24T02:14:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lkthomas](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lkthomas/32/1021_2.png) [@lkthomas](https://forums.percona.com/u/lkthomas)\
**Post date:** [May 24, 2017, 2:14am UTC](https://forums.percona.com/t/innobackupex-apply-log-source-and-destination-folder/5636/1 "2017-05-24T02:14:03Z")

</div>

I am trying to use innobackupex --apply-log --redo-only, but every time it’s applying to the source folder, which I don’t want to write anything from the source. Any way to get around by writing to destination folder only ?

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [June 2, 2017, 3:41am UTC](https://forums.percona.com/t/innobackupex-apply-log-source-and-destination-folder/5636/2 "2017-06-02T03:41:01Z")

</div>

I’m not sure what exactly you mean. Let suppose you took backup on /backup/backup1/ directory and you want to prepare backup (–apply-log) on different folder by keeping backup intact before prepare on /backup/backup1/ directory.  
You can make a copy of /backup/backup1/ to /backup/backup2/ directory for instance and use --apply-log on destination folder /backup/backup2/ directory.
