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: > > http://download.opensuse.org/repositories/filesystems:/snapper/ > > I''ll also add a link from the snapper home page: > > http://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, Fajar -- 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
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> 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: > > > > http://download.opensuse.org/repositories/filesystems:/snapper/ > > > > I''ll also add a link from the snapper home page: > > > > http://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] ....You can use these commands: echo ''deb http://download.opensuse.org/repositories/filesystems:/snapper/Debian_6.0/ /'' >> /etc/apt/sources.list apt-get update apt-get install snapper Regards, Arvin -- Arvin Schnell, <aschnell@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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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.listI 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 updateThat 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 snapperThat 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 -- 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
Matthias G. Eckermann
2012-Apr-10 14:35 UTC
Re: snapper for Ubuntu? (WAS: btrfs auto snapshot)
On 2012-04-10 T 20:48 +0700 Fajar A. Nugraha wrote:> 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)?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 -- Matthias G. Eckermann Senior Product Manager SUSE® Linux Enterprise SUSE LINUX Products GmbH Maxfeldstraße 5 90409 Nürnberg Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- 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
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 -- 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
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. > > 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, <aschnell@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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html