R
Rustle
What's the simplest way to run a backup via code? I want to add a
button to my switchboard to back up the database at the end of the
night. I am satisfied with the way the Backup Database... function
works via the File menu, but I don't know how to call that item or if
there's a better way. The dialog it calls up to do the backup lets
you save it to a default directory and then automatically renames the
file if a backup already exists to something like
DatabaseBackup_040108(1) if DatabaseBackup_040108 already exists.
Also wondering if there's a way to add the time, too.
Any ideas?
button to my switchboard to back up the database at the end of the
night. I am satisfied with the way the Backup Database... function
works via the File menu, but I don't know how to call that item or if
there's a better way. The dialog it calls up to do the backup lets
you save it to a default directory and then automatically renames the
file if a backup already exists to something like
DatabaseBackup_040108(1) if DatabaseBackup_040108 already exists.
Also wondering if there's a way to add the time, too.
Any ideas?