linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* snapper for Ubuntu? (WAS: btrfs auto snapshot)
@ 2012-04-09  1:18 Fajar A. Nugraha
  2012-04-10 11:46 ` Arvin Schnell
  0 siblings, 1 reply; 6+ messages in thread
From: Fajar A. Nugraha @ 2012-04-09  1:18 UTC (permalink / raw)
  To: Arvin Schnell; +Cc: linux-btrfs

On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell <aschnell@suse.de> wrote:
> We have now created a project in the openSUSE buildservice were
> we provide snapper packages for various distributions, e.g. RHEL6
> and Fedora 16. Please find the downloads at:
>
> =A0http://download.opensuse.org/repositories/filesystems:/snapper/
>
> I'll also add a link from the snapper home page:
>
> =A0http://en.opensuse.org/Portal:Snapper.
>
> I have tested snapper on Fedora 16 and found no problems.

Hi Arvin,

I noticed that openSUSE buildservice now provides debs for ubuntu as
well. I can't seem to find a way to add it to apt source list though,
using the usual line

deb uri distribution [component1] ....

Is there a howto somewhere, or is it
download-all-debs-manually-and-install-with-dpkg for now?

Thanks,

=46ajar
--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Arvin Schnell @ 2012-04-10 11:46 UTC (permalink / raw)
  To: Fajar A. Nugraha; +Cc: linux-btrfs

On Mon, Apr 09, 2012 at 08:18:45AM +0700, Fajar A. Nugraha wrote:
> On Thu, Mar 1, 2012 at 8:48 PM, Arvin Schnell <aschnell@suse.de> wrot=
e:
> > We have now created a project in the openSUSE buildservice were
> > we provide snapper packages for various distributions, e.g. RHEL6
> > and Fedora 16. Please find the downloads at:
> >
> > =A0http://download.opensuse.org/repositories/filesystems:/snapper/
> >
> > I'll also add a link from the snapper home page:
> >
> > =A0http://en.opensuse.org/Portal:Snapper.
> >
> > I have tested snapper on Fedora 16 and found no problems.
>=20
> Hi Arvin,
>=20
> I noticed that openSUSE buildservice now provides debs for ubuntu as
> well. I can't seem to find a way to add it to apt source list though,
> using the usual line
>=20
> deb uri distribution [component1] ....

You can use these commands:

echo 'deb http://download.opensuse.org/repositories/filesystems:/snappe=
r/Debian_6.0/ /' >> /etc/apt/sources.list

apt-get update
apt-get install snapper

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
  2012-04-10 11:46 ` Arvin Schnell
@ 2012-04-10 13:48   ` Fajar A. Nugraha
  2012-04-10 14:35     ` Matthias G. Eckermann
  0 siblings, 1 reply; 6+ messages in thread
From: Fajar A. Nugraha @ 2012-04-10 13:48 UTC (permalink / raw)
  To: Arvin Schnell; +Cc: linux-btrfs

On Tue, Apr 10, 2012 at 6:46 PM, Arvin Schnell <aschnell@suse.de> wrote:
> On Mon, Apr 09, 2012 at 08:18:45AM +0700, Fajar A. Nugraha wrote:
>> I noticed that openSUSE buildservice now provides debs for ubuntu as
>> well. I can't seem to find a way to add it to apt source list though,
>> using the usual line
>>
>> deb uri distribution [component1] ....
>
> You can use these commands:
>
> echo 'deb http://download.opensuse.org/repositories/filesystems:/snapper/Debian_6.0/ /' >> /etc/apt/sources.list

I didn't know you could use that format :D Just tested it, and it
works, although the command I use is

echo 'deb http://download.opensuse.org/repositories/filesystems:/snapper/Debian_6.0/
/' | sudo tee /etc/apt/sources.list.d/opensuse-snapper.list

>
> apt-get update

That got me the error

W: GPG error: http://download.opensuse.org  Release: The following
signatures couldn't be verified because the public key is not
available: NO_PUBKEY 2DA6FAF4175BFA4E

easily fixed though, using

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2DA6FAF4175BFA4E

... and then another apt-get update after that.


> apt-get install snapper

That result in a warning

WARNING: The following packages cannot be authenticated!
  libsnapper snapper
Install these packages without verification [y/N]?

Did the package creation process somehow ommit signing process,
perhaps? Or is there something else I missed?

Anyway, I got snapper-0.0.10-0 installed now, but having a small
problem. I use different subvolumes for multiple directories. For
example, /home and /data. Creating the config for both results in an
error

$ sudo snapper list-configs
Config | Subvolume
-------+----------
$ sudo snapper create-config /home
$ sudo snapper create-config /data
Creating config failed (config already exists).
$ sudo snapper list-configs
Config | Subvolume
-------+----------
root   | /home

How can I create config for /data or other directories (other than
manually creating the config file and .snapshots directory)?

-- 
Fajar

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
  2012-04-10 13:48   ` Fajar A. Nugraha
@ 2012-04-10 14:35     ` Matthias G. Eckermann
  2012-04-10 14:50       ` Fajar A. Nugraha
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias G. Eckermann @ 2012-04-10 14:35 UTC (permalink / raw)
  To: Fajar A. Nugraha, Arvin Schnell; +Cc: linux-btrfs

On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote:
=20
> Anyway, I got snapper-0.0.10-0 installed now, but having a small
> problem. I use different subvolumes for multiple directories. For
> example, /home and /data. Creating the config for both results in an
> error
>=20
> $ sudo snapper list-configs
> Config | Subvolume
> -------+----------
> $ sudo snapper create-config /home
> $ sudo snapper create-config /data
> Creating config failed (config already exists).
> $ sudo snapper list-configs
> Config | Subvolume
> -------+----------
> root   | /home
>=20
> How can I create config for /data or other directories (other than
> manually creating the config file and .snapshots directory)?
=20
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.

HTH

so long -
	MgE

--=20
Matthias G. Eckermann     Senior Product Manager   SUSE=C2=AE Linux Ent=
erprise
SUSE LINUX Products GmbH  Maxfeldstra=C3=9Fe 5          90409 N=C3=BCrn=
berg Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 16746 (AG N=C3=
=BCrnberg)
--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
  2012-04-10 14:35     ` Matthias G. Eckermann
@ 2012-04-10 14:50       ` Fajar A. Nugraha
  2012-04-11  9:53         ` Arvin Schnell
  0 siblings, 1 reply; 6+ messages in thread
From: Fajar A. Nugraha @ 2012-04-10 14:50 UTC (permalink / raw)
  To: Matthias G. Eckermann; +Cc: Arvin Schnell, linux-btrfs

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.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
  2012-04-10 14:50       ` Fajar A. Nugraha
@ 2012-04-11  9:53         ` Arvin Schnell
  0 siblings, 0 replies; 6+ messages in thread
From: Arvin Schnell @ 2012-04-11  9:53 UTC (permalink / raw)
  To: Fajar A. Nugraha; +Cc: Matthias G. Eckermann, linux-btrfs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-11  9:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).