meskyanichi/backup — Issue #214: changing storage options causes cycling to fail
Author: burns
Created: 2011-11-13 23:26:32+00:00
State: open

I use the SCP storage option and recently changed the password on the remote machine.
I changed the password in the backup configuration file, but started getting failure notifications.
It turned out the error was with Storage::Base#cycle! attempting to remove the older backup.
The storage objects loaded from the YAML file had the old settings and were not being updated,
which was causing an SSH::Authentication failure.

The quick solution was simply to update the data file manually.
However, I did spend some time today looking into this and came up
with a draft proposal for a solution that would solve this.
burns@aa3653567148c69930c2b288f9cd4144f679c053