[sles-beta] snapper Problem

urs.frey at post.ch urs.frey at post.ch
Fri Sep 5 03:21:00 MDT 2014


Hello Günther

You can manually create snapper configuration
The manual snapper configuration for root does create an entry in /etc/sysconfig/snapper : SNAPPER_CONFIGS="root", and also builds the snapshot root /@ and does also create the file /etc/snapper/configs/root from templates:

v03er9:~ # snapper list
Unknown config.
v03er9:~ # cat /etc/sysconfig/snapper
## Path: System/Snapper

## Type:        string
## Default:     ""
# List of snapper configurations.
SNAPPER_CONFIGS=""
v03er9:~ # ls -lsa /etc/snapper/configs/
total 0
0 drwxr-xr-x 1 root root  0 May  5 19:30 .
0 drwxr-xr-x 1 root root 92 May 16  2014 ..
v03er9:~ # ls -lsa /etc/snapper/config-templates/
total 4
0 drwxr-xr-x 1 root root  14 May 16  2014 .
0 drwxr-xr-x 1 root root  92 May 16  2014 ..
4 -rw-r--r-- 1 root root 929 May  5 19:30 default
v03er9:~ #
v03er9:~ # snapper -c root create-config /
v03er9:~ # snapper list
Type   | # | Pre # | Date | User | Cleanup | Description | Userdata
-------+---+-------+------+------+---------+-------------+---------
single | 0 |       |      | root |         | current     |
v03er9:~ # cat /etc/sysconfig/snapper
## Path: System/Snapper

## Type:        string
## Default:     ""
# List of snapper configurations.
SNAPPER_CONFIGS="root"
v03er9:~ # ls -lsa /etc/snapper/configs/
total 4
0 drwxr-xr-x 1 root root   8 May 16 10:18 .
0 drwxr-xr-x 1 root root  92 May 16  2014 ..
4 -rw-r----- 1 root root 929 May 16 10:18 root
v03er9:~ #

Snapper initialization in autoyast is like this : <enable_snapshots config:type="boolean">true</enable_snapshots> in the drive section  under partitioning

  <partitioning config:type="list">
    <drive>
      <device>/dev/sda</device>
      <disklabel>gpt</disklabel>
      <initialize config:type="boolean">true</initialize>
      <enable_snapshots config:type="boolean">true</enable_snapshots>
      <partitions config:type="list">

Best regards

Urs Frey                                              
Post CH AG
Informationstechnologie
IT Betrieb 
Webergutstrasse 12 
3030 Bern (Zollikofen) 
Telefon : ++41 (0)58 338 58 70 
FAX     : ++41 (0)58 667 30 07 
E-Mail:   urs.frey at post.ch


-----Ursprüngliche Nachricht-----
Von: sles-beta-bounces at lists.suse.com [mailto:sles-beta-bounces at lists.suse.com] Im Auftrag von Günther J. Niederwimmer
Gesendet: Friday, September 05, 2014 10:59 AM
An: sles-beta at lists.suse.com
Betreff: [sles-beta] snapper Problem

Hello,

can any tell me the new way to activate snapper after the installation?

On some of my Clients snapper is not activated automatic by the installation?

Btrfs File system installed, one of old Bugs I reported.

But I mean before RC2 we have in the btrfs config Window a Icon to activate 
snapper, this is now missing ?

Or is this now on a other Place and I cant find it,

Thanks for a answer.
 
-- 
mit freundlichen Grüßen / best Regards,

  Günther J. Niederwimmer
_______________________________________________
sles-beta mailing list
sles-beta at lists.suse.com
http://lists.suse.com/mailman/listinfo/sles-beta


More information about the sles-beta mailing list