Put everything in a script (backup and shutdown) and call it with cron. Remember cron uses a very limited PATH so use full path names for most commands. You should add a sleep or sync between the ...