#!/bin/bash while true; do sleep 30m cp db.sqlite3 db.sqlite3.$(date +'%Y%m%d%H%M') ls done