: snapper(snappers->getSnapper(backup_config.config)), locker(snapper)
{
if (backup_config.source_path != snapper->getConfig().getSubvolume())
- SN_THROW(Exception(_("Path mismatch between backup-config and config.")));
+ {
+ string error = sformat(_("Path mismatch between source-path of backup-config and subvolume of "
+ "snapper config ('%s' vs. '%s')."), backup_config.source_path.c_str(),
+ snapper->getConfig().getSubvolume().c_str());
+ SN_THROW(Exception(error));
+ }
probe_source(backup_config, verbose);
probe_target(backup_config, verbose);
<varlistentry>
<term><option>source-path</option></term>
<listitem>
- <para>Path of the subvolume or mount point.</para>
+ <para>Path of the source subvolume. This must match the
+ subvolume of the corresponding snapper config.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>target-path</option></term>
<listitem>
- <para>Path of the subvolume or mount point.</para>
+ <para>Path of the target subvolume or mount point.</para>
</listitem>
</varlistentry>