Results 1 to 3 of 3

Thread: Database backup filename question

  1. #1
    Join Date
    Feb 2004
    Location
    Posts
    157

    Default Database backup filename question

    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.

  2. #2
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Database backup filename question

    Quote Originally Posted by Balok
    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.

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

    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

  3. #3
    Join Date
    Feb 2004
    Location
    Posts
    157

    Default Re: Database backup filename question

    Thanks for implementing this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •