script for direct backups