• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
XCP-ng
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login

Need some advice on retention

Scheduled Pinned Locked Moved Backup
8 Posts 3 Posters 169 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    rtjdamen
    last edited by 5 Aug 2024, 09:20

    For one of my customers, I need to set a more specific backup retention policy. They would like to keep their backups for 2 years with one backup per month, and daily backups for the last 30 days. I am a little confused about how to set this up inside the backup job. Can anyone point me in the right direction?

    F 1 Reply Last reply 5 Aug 2024, 09:28 Reply Quote 0
    • F
      Forza @rtjdamen
      last edited by 5 Aug 2024, 09:28

      @rtjdamen you could simply make two backup jobs, one for daily backups and one for monthly backups.

      R 1 Reply Last reply 5 Aug 2024, 10:03 Reply Quote 1
      • R
        rtjdamen @Forza
        last edited by 5 Aug 2024, 10:03

        @Forza thanks, so it is not creating 1 backup job with multiple schedules?

        F 1 Reply Last reply 5 Aug 2024, 18:00 Reply Quote 0
        • P
          ph7
          last edited by 5 Aug 2024, 14:56

          I have a similar backup strategy
          One backup job with 2 schedules
          Works fine for me

          1 Reply Last reply Reply Quote 1
          • F
            Forza @rtjdamen
            last edited by 5 Aug 2024, 18:00

            @rtjdamen that works too of course. I find it easier to manage multiple jobs and use tags to match vms.

            For example
            Weekly full
            Daily full
            Every 4h incremental
            Every 1h incremental
            ...

            The each VM is tagged with the type of backups that should be used. It also helps me see instantly what type of backups a specific VM has.

            R 1 Reply Last reply 5 Aug 2024, 18:11 Reply Quote 0
            • R
              rtjdamen @Forza
              last edited by 5 Aug 2024, 18:11

              @Forza thank you, but if i understand correct, creating 2 schedules will help to maintain 2 retentions, so if i create a schedule for daily with retention 30 it will keep the last 30 days, and create a schedule for once a month with retention 12 it will create a backup once a month and keep it for 1 year?

              P 1 Reply Last reply 5 Aug 2024, 19:45 Reply Quote 0
              • P
                ph7 @rtjdamen
                last edited by 5 Aug 2024, 19:45

                @rtjdamen
                Exactly

                R 1 Reply Last reply 5 Aug 2024, 19:51 Reply Quote 1
                • R
                  rtjdamen @ph7
                  last edited by 5 Aug 2024, 19:51

                  @ph7 thanks guys!

                  1 Reply Last reply Reply Quote 0
                  5 out of 8
                  • First post
                    5/8
                    Last post