anchor.diff:  # Make backup of PostgreSQL
   echo Backing up PostgreSQL...
   su postgres -c "/usr/bin/pg_dumpall -cO" |
  -    gzip > "$backup_dir/postgresql-$date_stamp.sql.gz"
  +    gzip > "$backup_dir/postgresql-$timestamp.sql.gz"
   rotate postgresql
   <% end -%>
   
  
positive.code: # Make backup of MySQL
  echo Backing up MySQL...
  /usr/bin/mysqldump -u<%= node[:localbackup][:mysql][:user] %> -p<%= node[:localbackup][:mysql][:password] %> --all-databases \
      | gzip > "$backup_dir/mysql-$date_stamp.sql.gz"
  rotate mysql
  <% end -%>
  
  
negative.code: 
  cd /tmp
  umask 0077
  timestamp=$(date +%Y%m%d%H%M%S)
  
  # Remove old versions
  rotate() {
  