#20 Configuration of hourly backups

closed
nobody
5
2014-02-24
2013-01-11
No

Since Version 3 hourly backups should be available according to changelog. Tracker "hourly backups - ID: 3470216" underlines this. I cannot find any configuration options for that feature. Should i juts use automysqlbackup with hourly cron jobs? What is with rotating?

Thanks!

Discussion

  • bertys

    bertys - 2013-01-22

    I had the same problem when I was setting it up.
    You're right that you have to set hourly cron to get it to do hourly backups.
    Hourly backups will then appear in your 'Daily' folders.

    I then call the following in the 'CONFIG_postbackup=' section of the config file:

    #!/usr/bin/env bash
    find "${CONFIG_backup_dir}"/daily -type f -mmin +1440 -exec rm {} \;

    This deletes hourly files older than 24 hours (1440 minutes). Adjust as you see fit, or don't use it if you want to keep all hourly backups.

    Hope that helps.

     
  • kingfisher88

    kingfisher88 - 2013-01-24

    Thank you, that helps -

     
  • kingfisher88

    kingfisher88 - 2013-01-24
    • status: open --> closed
     
  • darkpollo

    darkpollo - 2014-02-24

    When i do this with incremental backups it generate an error. Any idea how to make hourly backups with diff and store only the latest 48 hours?

    Thanks

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks