# HG changeset patch # User Pascal Bellard # Date 1354529557 -3600 # Node ID 9584476eeb17d287f0260068ed469f5f830cf1db # Parent 3c7348ca269f7b6190552de8ebd0a98a6605fd7d btrfs-progs: do not create 2 snapshots simultaneously... diff -r 3c7348ca269f -r 9584476eeb17 btrfs-progs/stuff/btrfs-snapshot --- a/btrfs-progs/stuff/btrfs-snapshot Sat Dec 01 08:24:37 2012 +0000 +++ b/btrfs-progs/stuff/btrfs-snapshot Mon Dec 03 11:12:37 2012 +0100 @@ -1,10 +1,11 @@ #!/bin/sh # Keep last 30 daily snapshots with crontab +# Note: do not create 2 snapshots simultaneously (break btrfs mountage) #0 * * * * /usr/bin/btrfs-snapshot 5 -hourly -#0 0 * * * /usr/bin/btrfs-snapshot 30 -daily -#0 0 1 * * /usr/bin/btrfs-snapshot 12 -monthly -#0 0 1 1 * /usr/bin/btrfs-snapshot 99 -yearly +#1 0 * * * /usr/bin/btrfs-snapshot 30 -daily +#2 0 1 * * /usr/bin/btrfs-snapshot 12 -monthly +#3 0 1 1 * /usr/bin/btrfs-snapshot 99 -yearly btrfs_list() {