Menu

[2.5] Monthly backup not working - Daily / Weekly works fine

Help
2022-12-01
2023-05-30
  • Heiner Mertens

    Heiner Mertens - 2022-12-01

    I use the same (except for db names) automysqlbackup (version 2.5) config on different servers but on my new server (ubuntu 22.04 LTS) the monthly backups don't work. Daily and Weekly are working fine though. If I start a backup today (1st of December) I only get a daily backup and no monthly backup is created (the log also only shows stuff for daily creation).
    The script runs fine every day since October with the only flaw of the missing monthly backups.

    Relevant part of my config:

    DBNAMES=my_db
    MDBNAMES="my_db"
    

    Any ideas what is going wrong?

     
  • Belgotux

    Belgotux - 2023-05-09

    Maybe it's your first backup for this DB ? Normally you need one daily backup to begin and an entire weekly I think

     
  • Heiner Mertens

    Heiner Mertens - 2023-05-09

    The script runs fine every day since October with the only flaw of the missing monthly backups.

    Nope, not the first one :-)

     
  • Belgotux

    Belgotux - 2023-05-23

    Do you set the CONFIG_do_monthly="01" ?

     
    • Heiner Mertens

      Heiner Mertens - 2023-05-30

      Yes, although my config syntax looks different:

      # Which day of the month to execute the monthly backup (00 = no monthly backup)
      # Two digit required
      DOMONTHLY=01
      
       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.