Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Has anyone been successfull getting Snapper to run?

  1. #1

    Default Has anyone been successfull getting Snapper to run?

    When I try to run the snapper GUI I get:
    Code:
    Using snapper: 'Failed to initialize snapper library: Configuration not found.'
    I see there is a bug, but I'm not fully convinced it's a bug. Seems to me like I may be doing something wrong.
    New: Cannot run Snapper from YaST2 - opensuse-bugs.opensuse.org - ArchiveOrange

    Someone on the bug comments said to do:

    Code:
    snapper -c srv create-config /srv
    snapper -c srv create -d test
    I entered the above in with no troubles.

    I have installed BTRFS as default in my setup.

    Here's a Snapper install documentation but it's for 11.4:

    openSUSE:Snapper install - openSUSE


    Does anybody know the story on this?

  2. #2

    Default Re: Has anyone been successfull getting Snapper to run?

    Quote Originally Posted by simpleblue View Post
    When I try to run the snapper GUI I get:
    Code:
    Using snapper: 'Failed to initialize snapper library: Configuration not found.'
    I see there is a bug, but I'm not fully convinced it's a bug. Seems to me like I may be doing something wrong.
    New: Cannot run Snapper from YaST2 - opensuse-bugs.opensuse.org - ArchiveOrange

    Someone on the bug comments said to do:

    Code:
    snapper -c srv create-config /srv
    snapper -c srv create -d test
    I entered the above in with no troubles.

    I have installed BTRFS as default in my setup.

    Here's a Snapper install documentation but it's for 11.4:

    openSUSE:Snapper install - openSUSE


    Does anybody know the story on this?
    I have the exact same problem after installing from the KDE live CD. Apparently it doesn't happen when installing from the DVD? I'm going to try this tonight after I've downloaded the DVD release.

  3. #3

    Default Re: Has anyone been successfull getting Snapper to run?

    I've managed to get mine working just fine with this configuration:

    /etc/snapper/configs/root:
    Code:
    # subvolume to snapshot
    SUBVOLUME="/"
    
    # filesystem type
    FSTYPE="btrfs"
    
    
    # run daily number cleanup
    NUMBER_CLEANUP="yes"
    
    # limit for number cleanup
    NUMBER_MIN_AGE="1800"
    NUMBER_LIMIT="100"
    
    
    # create hourly snapshots
    TIMELINE_CREATE="yes"
    
    # cleanup hourly snapshots after some time
    TIMELINE_CLEANUP="yes"
    
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    
    
    # cleanup empty pre-post-pairs
    EMPTY_PRE_POST_CLEANUP="yes"
    
    # limits for empty pre-post-pair cleanup
    EMPTY_PRE_POST_MIN_AGE="1800"
    /etc/snapper/configs/home:
    Code:
    # subvolume to snapshot
    SUBVOLUME="/home"
    
    # filesystem type
    FSTYPE="btrfs"
    
    
    # run daily number cleanup
    NUMBER_CLEANUP="yes"
    
    # limit for number cleanup
    NUMBER_MIN_AGE="1800"
    NUMBER_LIMIT="100"
    
    
    # create hourly snapshots
    TIMELINE_CREATE="yes"
    
    # cleanup hourly snapshots after some time
    TIMELINE_CLEANUP="yes"
    
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    
    
    # cleanup empty pre-post-pairs
    EMPTY_PRE_POST_CLEANUP="yes"
    
    # limits for empty pre-post-pair cleanup
    EMPTY_PRE_POST_MIN_AGE="1800"
    /etc/sysconfig/snapper:
    Code:
    ### Path: System/Snapper
    
    ## Type:        string
    ## Default:     ""
    # List of snapper configurations.
    SNAPPER_CONFIGS="root home"
    Then run: 'snapper create' as root

    and yast2-snapper should work just fine!

  4. #4

    Default Re: Has anyone been successfull getting Snapper to run?

    Quote Originally Posted by OrangutanClyde View Post
    I've managed to get mine working just fine with this configuration:

    /etc/snapper/configs/root:
    Code:
    # subvolume to snapshot
    SUBVOLUME="/"
    
    # filesystem type
    FSTYPE="btrfs"
    
    
    # run daily number cleanup
    NUMBER_CLEANUP="yes"
    
    # limit for number cleanup
    NUMBER_MIN_AGE="1800"
    NUMBER_LIMIT="100"
    
    
    # create hourly snapshots
    TIMELINE_CREATE="yes"
    
    # cleanup hourly snapshots after some time
    TIMELINE_CLEANUP="yes"
    
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    
    
    # cleanup empty pre-post-pairs
    EMPTY_PRE_POST_CLEANUP="yes"
    
    # limits for empty pre-post-pair cleanup
    EMPTY_PRE_POST_MIN_AGE="1800"
    /etc/snapper/configs/home:
    Code:
    # subvolume to snapshot
    SUBVOLUME="/home"
    
    # filesystem type
    FSTYPE="btrfs"
    
    
    # run daily number cleanup
    NUMBER_CLEANUP="yes"
    
    # limit for number cleanup
    NUMBER_MIN_AGE="1800"
    NUMBER_LIMIT="100"
    
    
    # create hourly snapshots
    TIMELINE_CREATE="yes"
    
    # cleanup hourly snapshots after some time
    TIMELINE_CLEANUP="yes"
    
    # limits for timeline cleanup
    TIMELINE_MIN_AGE="1800"
    TIMELINE_LIMIT_HOURLY="10"
    TIMELINE_LIMIT_DAILY="10"
    TIMELINE_LIMIT_MONTHLY="10"
    TIMELINE_LIMIT_YEARLY="10"
    
    
    # cleanup empty pre-post-pairs
    EMPTY_PRE_POST_CLEANUP="yes"
    
    # limits for empty pre-post-pair cleanup
    EMPTY_PRE_POST_MIN_AGE="1800"
    /etc/sysconfig/snapper:
    Code:
    ### Path: System/Snapper
    
    ## Type:        string
    ## Default:     ""
    # List of snapper configurations.
    SNAPPER_CONFIGS="root home"
    Then run: 'snapper create' as root

    and yast2-snapper should work just fine!
    That worked! Thank you so much.

    This was the only reason I downloaded SUSE, because my other OS did everything I needed it to, but now that I can run snapper, SUSE will be my OS.

  5. #5

    Default Re: Has anyone been successfull getting Snapper to run?

    I feel exactly the same way! snapper was the deal breaker that made me choose openSUSE over Mint/Ubuntu yesterday.

    It's a fantastic feature!

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    23,049

    Default Re: Has anyone been successfull getting Snapper to run?

    On 2011-11-18 14:36, OrangutanClyde wrote:
    > I have the exact same problem after installing from the KDE live CD.
    > Apparently it doesn't happen when installing from the DVD? I'm going to
    > try this tonight after I've downloaded the DVD release.


    If two people have the same problem, report in Bugzilla, and both add to it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7

    Default Re: Has anyone been successfull getting Snapper to run?

    Quote Originally Posted by robin_listas View Post
    On 2011-11-18 14:36, OrangutanClyde wrote:
    > I have the exact same problem after installing from the KDE live CD.
    > Apparently it doesn't happen when installing from the DVD? I'm going to
    > try this tonight after I've downloaded the DVD release.


    If two people have the same problem, report in Bugzilla, and both add to it.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)
    It's already been reported, but I did add this link to the bug report so that people can get it running.

  8. #8

    Default Re: Has anyone been successfull getting Snapper to run?

    Sorry, this does not work for me. When I did the install, I was told NOT to use btrfs for root, so I did not. Hence there is no root file in /etc/snapper/configs.

    But when I try to do anything, it complains that there is no root!

    jarfx:/etc/snapper/configs # UTF8 locale not supported.
    snapper create
    Config 'root' not found.

    My two other (srv and home) snapper files are just as you have them above.

    Yast2's snapper says "Failed to initialize snapper library" and exits.

    Is a file called root required? Apparently so. THIS IS A BUG IMHO. I changed the name srv to rooit and yast2 opened. But I only see the files for /srv in yast2, not those for home. Can one put two partitions in one file?

    This is still very poorly documented.

    -----
    addendum:

    /etc/sysconfig/snapper did have srv and home in it. Snapper will not work without a root. So when I changed srv to root, and put "root home" in /etc/sysconfig/snapper, is now seems to work.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    23,049

    Default Re: Has anyone been successfull getting Snapper to run?

    On 2011-11-18 21:56, simpleblue wrote:
    > It's already been reported, but I did add this link to the bug report
    > so that people can get it running.


    Then say the number here.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10

    Default Re: Has anyone been successfull getting Snapper to run?


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •