• 1 Post
  • 11 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle





  • Yep that’s the one. If you can make a cron job to make the zip file, logrotate could handle keeping the last x files.

    It might sound complicated, but the cool thing about *nix environments is that everything is made up of a combo of little tools. You can learn one at a time and slowly build something super complicated over time. First thing would be figuring out the right set of commands to make a zip file from the directory I reckon. Then add that to cron so it happens every day. Then add logrotate into the mix and have that do its thing every day after the backup runs.




  • MaungaHikoi@lemmy.nzOPMtoProgramming@programming.devNew mod
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    Obviously!

    I didn’t put too much in my intro as I don’t think I’m all that interesting and I didn’t want people to think I was getting a big head. Short version of my relevant bio:

    • I’m a 15+ year veteran of the software dev industry
    • I run a small contracting company (a sub-5 person cooperative)