Rsnapshot: "ERROR: Can not have first backup level's retention count set to 1, and have a second backup level"

  • I've been using rsnapshot (through the OMV webUI) for a while to keep recent backups, and so far it's worked without a problem. Recently I adjusted some of the parameters for a couple of my backups, to keep fewer versions of the backups. Now I get the error: ERROR: Can not have first backup level's retention count set to 1, and have a second backup level


    I went through the backups and deleted extraneous ones (like weekly_1 when I only wanted a weekly_0), so the existing directories perfectly match the settings - but still nada. I also deleted the rsnapshot entry from the webUI, renamed the target directory so it could start totally fresh, and got the same error yet again. I also uninstalled the rsnapshot plugin through the webUI, renamed the backup target folder, reinstalled rsnapshot, set up a new backup, and get the same exact error. Not sure what else to try.


    Anyone have any idea how I can get rsnapshot working again?

  • My interpretation of the message indicates you have something like: daily 1 weekly 1. The second level of backup, when executed moves the last daily backup to the weekly backup, which would result with the removal of your only daily backup, and logically this would be considered an error.


    In your rsnapshot.conf you need something like:



    with daily set to at least two (although 7 daily makes more sense to me).

  • That's it, thank you so much! I totally misunderstood the error, but this makes sense. I thought for some reason that having both a weekly.0 and weekly.1 folders present from previous backups were throwing it off when I reduced it down to just 1 weekly backup. This makes much more sense, so it all works now.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!