You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# ls snapshot_root
snapshot_root/alpha.0
snapshot_root/alpha.1
snapshot_root/alpha.2
snapshot_root/beta.0
snapshot_root/beta.1
Now let's do the rsnapshot beta, so rsnapshot removes the snapshot_root/beta.1, moves snapshot_root/beta.0 to snapshot_root/beta.1, and moves the snapshot_root/alpha.2 to snapshot_root/beta.0. So far, so good. The backups directory at this point is the following:
# ls snapshot_root
snapshot_root/alpha.0
snapshot_root/alpha.1
snapshot_root/beta.0
snapshot_root/beta.1
So if we now repeat the rsnapshot beta command, then rsnapshot does the same except from moving snapshot_root/alpha.2 to snapshot_root/beta.0. It complains about the absence of snapshot_root/alpha.2, but nevertheless moves snapshot_root/beta.0 without leaving any substitution for it. So backups directory turns out to be this:
# ls snapshot_root
snapshot_root/alpha.0
snapshot_root/alpha.1
snapshot_root/beta.1
This state seems to be faulty. I understand that repeating rsnapshot beta is not the intended use of rsnapshot, but IMHO it should not corrupt the backups.
The text was updated successfully, but these errors were encountered:
Let's suppose the config file having these lines:
And the full spectra of backups is present, i.e.:
Now let's do the
rsnapshot beta
, so rsnapshot removes thesnapshot_root/beta.1
, movessnapshot_root/beta.0
tosnapshot_root/beta.1
, and moves thesnapshot_root/alpha.2
tosnapshot_root/beta.0
. So far, so good. The backups directory at this point is the following:So if we now repeat the
rsnapshot beta
command, then rsnapshot does the same except from movingsnapshot_root/alpha.2
tosnapshot_root/beta.0
. It complains about the absence ofsnapshot_root/alpha.2
, but nevertheless movessnapshot_root/beta.0
without leaving any substitution for it. So backups directory turns out to be this:This state seems to be faulty. I understand that repeating
rsnapshot beta
is not the intended use of rsnapshot, but IMHO it should not corrupt the backups.The text was updated successfully, but these errors were encountered: