Support

Akeeba Backup for Joomla!

#16117 date format

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Tuesday, 21 May 2013 10:45 CDT

alxttr
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (unknown)

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hello,

Is it possible to change the date output format from YearMonthDay to DayMonthYear which is output in the archive name ([HOST]-[DATE]-[TIME])?

Kind regards,
Alex

nicholas
Akeeba Staff
Manager
Yes. As you can see in the documentation you could use the following:
site-[HOST]-[DAY][MONTH][YEAR]-[TIME]

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alxttr
Hi,

Thanks. Got it.

I tried to set the date like this: [DAY]/[MONTH]/[YEAR]. I could save the configuration but when I actually tried to make the back-up I got en error.

So is it right when I assume that '/' must not be used or might be something else that triggered the error?


I did not see an option to set the time as well in the docs. Is it possible to have something like [HH]:[MM]:[SS] ?

Kind regards,
Alex

nicholas
Akeeba Staff
Manager
The forward slash is an invalid file name character in every operating system imaginable. Actually, it's the only character you can safely assume you should never, ever, use in a filename. Try using dashes instead.

Regarding time formats, the colon is an acceptable file name character in all operating systems... except Windows. If you're going to generate or transfer the file on a Windows environment (or at least a medium formatted in FAT, FAT32, exFAT or NTFS – even a NAS formatted as one of those) I'd recommend against using it.

Now you understand why I use the run-together notation by default :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!