linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arvin Schnell <aschnell@suse.de>
To: "Fajar A. Nugraha" <list@fajar.net>
Cc: "Matthias G. Eckermann" <mge@suse.com>,
	linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
Date: Wed, 11 Apr 2012 11:53:16 +0200	[thread overview]
Message-ID: <20120411095316.GA2850@suse.de> (raw)
In-Reply-To: <CAG1y0sdnXMuq4d-kDjrS6FkD1+iDBoF0-uz_d_FxwhO2wTP2Lg@mail.gmail.com>

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 <mge@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.
>=20
> Great! That works, thanks.
>=20
> Is there an oposite of create-config, i.e. delete for just one subvol=
ume?
> 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

--=20
Arvin Schnell, <aschnell@suse.de>
Senior Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6=
rffer, HRB 16746 (AG N=FCrnberg)
Maxfeldstra=DFe 5
90409 N=FCrnberg
Germany
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2012-04-11  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09  1:18 snapper for Ubuntu? (WAS: btrfs auto snapshot) Fajar A. Nugraha
2012-04-10 11:46 ` Arvin Schnell
2012-04-10 13:48   ` Fajar A. Nugraha
2012-04-10 14:35     ` Matthias G. Eckermann
2012-04-10 14:50       ` Fajar A. Nugraha
2012-04-11  9:53         ` Arvin Schnell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120411095316.GA2850@suse.de \
    --to=aschnell@suse.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=list@fajar.net \
    --cc=mge@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).