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

Up: firefox-langpack-zh_TW (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:20:12 2013 +0200 (2013-08-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	Thu Aug 08 22:20:12 2013 +0200
     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  {