Title: Post backup processing
Last modified: March 18, 2017

---

# Post backup processing

 *  Resolved [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * (@duanemitchell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/)
 * My backups are being sent to S3. However, a copy still remains in the local directory
   as does the log file. I’d like to remove both since the backup is now on S3.
 * I notice in the Cleanup Options pane of Settings there’s an option to “Cleanup
   by Date (days)”. If I set that to 1 day would that clean out the local backup
   and log file a day after the backup ran. I suppose I could also run a cron job
   from my cPanel?
 * Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * (@duanemitchell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8930498)
 * Answering part of my question…I see I can disable the backup log in Settings.
 *  [XCloner](https://wordpress.org/support/users/xcloner/)
 * (@xcloner)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8930769)
 * Yes, logs can be disabled although XCloner has a log rotation option implemented
   in latest 4.0.2 version, so it will not keep logs older than 1 week.
 * And yes, you can use the days setting to delete backups older than that period.
 * Will mark this as resolved for now
 *  Thread Starter [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * (@duanemitchell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8954472)
 * This isn’t working. Please correct me as to where to make the settings.
 * First, with regard to the log file. I go into Settings->General Settings-Enable
   XCloner Backup Log. I turn that off because I don’t want the log files. I then
   save the settings. Next time I log in it’s turned on and it’s creating log files.
   How do I set this? Also, where is this option for log rotation?
 * Also, local backups are not being deleted. Since I send them to S3 I don’t want
   to save them at all. I don’t understand what I’m doing wrong? What should my 
   settings be for the following options if I want to delete a local backup as soon
   as possible after it has been moved to S3?
 * In Settings->Cleanup Options there are the following 3 settings. What should 
   I set them to?
 * Cleanup by Date(days)
    Cleanup by Quantity Cleanup by Capacity(MB)
 * Thanks!
 *  Thread Starter [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * (@duanemitchell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8954483)
 * OK, I may have answered one of my questions regarding the backup removal. I have
   the following settings:
 * Cleanup by Date(days) – 1
    Cleanup by Quantity – 1 Cleanup by Capacity(MB) – 
   0
 * Right now I’m running a daily backup only because I want to get this working.
   So with the above settings it keeps just one backup for 24 hours on the local
   server and all the backups on S3.
 * Now just have to figure out the log files.
 *  [XCloner](https://wordpress.org/support/users/xcloner/)
 * (@xcloner)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8954863)
 * Could be a bug in XCloner so when you deactivate/activate XCloner the default
   log setting will reset itself to true. I will have that fixed for the next release
 *  Thread Starter [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * (@duanemitchell)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8956109)
 * I just checked it is off. The last time I set it to off I deliberately clicked
   the Save Settings button before moving to the next pane. Since I’m also trying
   to config Cleanup Options I would wait until I got done there to click the Save
   Setting button. So maybe that is it. I’m watching it close but at least for now
   it seems to be good. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Post backup processing’ is closed to new replies.

 * ![](https://ps.w.org/xcloner-backup-and-restore/assets/icon-256x256.png?rev=2766426)
 * [Backup, Restore and Migrate your sites with XCloner](https://wordpress.org/plugins/xcloner-backup-and-restore/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/xcloner-backup-and-restore/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/xcloner-backup-and-restore/)
 * [Active Topics](https://wordpress.org/support/plugin/xcloner-backup-and-restore/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xcloner-backup-and-restore/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xcloner-backup-and-restore/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [duanemitchell](https://wordpress.org/support/users/duanemitchell/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/post-backup-processing/#post-8956109)
 * Status: resolved