wok diff btrfs-progs/stuff/btrfs-snapshot @ rev 14171

libnfc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 15:35:51 2013 +0100 (2013-03-08)
parents 90f1623aac5e
children
line diff
     1.1 --- a/btrfs-progs/stuff/btrfs-snapshot	Sun Nov 04 18:18:29 2012 +0100
     1.2 +++ b/btrfs-progs/stuff/btrfs-snapshot	Fri Mar 08 15:35:51 2013 +0100
     1.3 @@ -1,10 +1,11 @@
     1.4  #!/bin/sh
     1.5  
     1.6  # Keep last 30 daily snapshots with crontab
     1.7 +# Note: do not create 2 snapshots simultaneously (break btrfs mountage)
     1.8  #0 * * * * /usr/bin/btrfs-snapshot 5  -hourly
     1.9 -#0 0 * * * /usr/bin/btrfs-snapshot 30 -daily
    1.10 -#0 0 1 * * /usr/bin/btrfs-snapshot 12 -monthly
    1.11 -#0 0 1 1 * /usr/bin/btrfs-snapshot 99 -yearly
    1.12 +#1 0 * * * /usr/bin/btrfs-snapshot 30 -daily
    1.13 +#2 0 1 * * /usr/bin/btrfs-snapshot 12 -monthly
    1.14 +#3 0 1 1 * /usr/bin/btrfs-snapshot 99 -yearly
    1.15  
    1.16  btrfs_list()
    1.17  {