anchor.diff:  
   cd /tmp
   umask 0077
  -date_stamp=$(date +%Y%m%d%H%M%S)
  +timestamp=$(date +%Y%m%d%H%M%S)
   
   # Remove old versions
   rotate() {
  
positive.code: # Make backup of PostgreSQL
  echo Backing up PostgreSQL...
  su postgres -c "/usr/bin/pg_dumpall -cO" |
      gzip > "$backup_dir/postgresql-$date_stamp.sql.gz"
  rotate postgresql
  <% end -%>
  
  
negative.code:     the_dir="$1"
      # Replace / with _
      out_base="${the_dir//\//_}"
      out_file="$backup_dir/$out_base-$timestamp.tar.gz"
      /bin/tar --exclude-from <%= node[:localbackup][:ignore_file] %> -Pczf "$out_file" "$the_dir"
      rotate "$out_base"
  }
  