#!/bin/sh # -------------------------------------------------------------------------------- # Only modify these variables # jsmall@soliantconsulting.com 20090204 # -------------------------------------------------------------------------------- # =====================================P R O D U C T I O N======================================= # # Include trailing slash. Include enclosing quotes SRCPATH="/Volumes/Server HD/Library/FileMaker Server/Data/Backups/ScriptedBackups/Production/" # # -------------------------------------------------------------------------------- # # End with zip prefix (Don't include trailing slash). Include enclosing quotes. TARGET="/Volumes/Server HD/Users/Shared/Application Zip Archive Backups/Production/Daily/" # # -------------------------------------------------------------------------------- # # zip_worker.sh is called with a leading period, which runs it in the same shell as calling script # You can uncomment the logger calls to help with debugging (writes to system.log) # logger -t FMBACKUP About to call zip_worker.sh with "$SRCPATH" "$TARGET" . "/Volumes/Server HD/Library/FileMaker Server/Data/Scripts/zip_worker.sh" "$SRCPATH" "$TARGET" # logger -t FMBACKUP Ran it. # ======================================D E V E L O P M E N T================================== # # Include trailing slash. Include enclosing quotes SRCPATH="/Volumes/Server HD/Library/FileMaker Server/Data/Backups/ScriptedBackups/Development/" # # -------------------------------------------------------------------------------- # # End with zip prefix (Don't include trailing slash). Include enclosing quotes. TARGET="/Volumes/Server HD/Users/Shared/Application Zip Archive Backups/Development/Daily/" # # -------------------------------------------------------------------------------- # # zip_worker.sh is called with a leading period, which runs it in the same shell as calling script # You can uncomment the logger calls to help with debugging (writes to system.log) # logger -t FMBACKUP About to call zip_worker.sh with "$SRCPATH" "$TARGET" . "/Volumes/Server HD/Library/FileMaker Server/Data/Scripts/zip_worker.sh" "$SRCPATH" "$TARGET" # logger -t FMBACKUP Ran it.