Score:0

What CLI tool helps rotate my mysqldump files on cloud storage: daily backups, weekly, and monthly backups with deletion?

in flag

I need to backup my mysqldump files from my database server, daily. I need to retain:

  • daily backups for a week
  • weekly backups for a month
  • monthly backups for a year
  • yearly backups after that

My preferred cloud storage is AWS S3.

My backups would run once every 12 hours, and then upload to cloud storage. After this, automatically I would need to delete backups that fall outside of the above retention requirement.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.