Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 4275

Cobian Reflector • A regular expression for backup DB SQL

$
0
0
I am trying to make a Regex to backup only the latest DB in SQL. Unfortunately, it is not possible to make a selection based on the date of the file because SQL works with all DBs and the date changes. Therefore, attributes cannot be used either.
How to write an expression to filter the year, preferably the month, in the directory name? Can an expression be inserted into a regular expression? year, month etc?
SQL creates the DB names itself and I have no way to influence them.
List of DBs in attachment / image
Thanks in advance for the idea.
Snímek obrazovky 2023-11-25 130309.png

Statistics: Posted by PetGot — 25 Nov 2023, 13:21



Viewing all articles
Browse latest Browse all 4275

Trending Articles