On Tue, Apr 10, 2012 at 09:50:32PM +0700, Fajar A. Nugraha wrote:
> 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).

delete-config only deletes one config. Otherwise that is a bug.

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

Thanks for the hint.

Regards,
  Arvin

-- 
Arvin Schnell, <aschn...@suse.de>
Senior Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
--
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