On Tue, Apr 10, 2012 at 9:35 PM, Matthias G. Eckermann <m...@suse.com> wrote:
> On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote:
>> How can I create config for /data or other directories (other than
>> manually creating the config file and .snapshots directory)?
>
> This should do it:
>
> sudo snapper -c home create-config /home
> sudo snapper -c data create-config /data
>
> The reasons for the extra "-c <name>" is that you have to
> tell snapper, which name to choose for the configuration
> you want to create. This name is the one you can reference
> in future actions such as create/modify/delete.

Great! That works, thanks.

Is there an oposite of create-config, i.e. delete for just one subvolume?
delete-config seems to delete everything (configs for all subvolume
and all snapshots).

Also, one minor detail, I noticed that the cron configuration file is
/etc/sysconfig/snapper. It should be /etc/default/snapper in
ubuntu/debian.

-- 
Fajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to