anatak Posted January 31, 2014 Share Posted January 31, 2014 I wondered if there is a date variable I can use in the file name where the database will be saved.@DATABASE@ is for the name so does anybody know if there is a DATE variable that I could enter in the filename ? Quote Link to comment https://forums.phpfreaks.com/topic/285828-phpmyadmin-export-database-time-variable/ Share on other sites More sharing options...
viveklucky1848 Posted November 5, 2015 Share Posted November 5, 2015 @anatak Have you referred below links ? http://duntuk.com/phpmyadmin-database-export-save-file-template http://mc-kenna.com/2006/02/mysql-tip-phpmyadmin-export-filename You can use %F for getting full date in filename and %T for getting full time string. So __DB__-%F-%T will export the latest database sql file with current date and time in filename. Hope this helps. Quote Link to comment https://forums.phpfreaks.com/topic/285828-phpmyadmin-export-database-time-variable/#findComment-1525694 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.