PDA

View Full Version : Database backup filename question



Balok
09-19-2007, 07:07 PM
I prefer my backup filenames to be in the format yyyymmdd.obk. This format assures me Windows will always sort them from least recent to most recent.

Is there a way to get OCD to do this?

Thanks.

andrei_c
10-01-2007, 03:37 AM
I prefer my backup filenames to be in the format yyyymmdd.obk. This format assures me Windows will always sort them from least recent to most recent.

Is there a way to get OCD to do this?

No, but I added it in next version 6.1.8. You will be able to use %-specifiers in default backup file name (View -> Preferences -> Backup tab).

The list of date and time specifiers is standard, it can be found anywhere, e.g.

http://www.cplusplus.com/reference/clibrary/ctime/strftime.html

For your format yyyymmdd.obk, you will need to enter in default backup file name box something like this:

C:\Backups\%Y%m%d.obk

%Y - year
%m - month
%d - day

Again, this is upcoming version 6.1.8 only. It's not yet available in current release yet.

Andrei

Balok
07-23-2008, 02:04 PM
Thanks for implementing this.