(os-sftp-backup) Backup-Files get Unix-Timestamp

Started by SchengFui, July 07, 2026, 01:52:59 PM

Previous topic - Next topic
Hi there,

config-Backups created with os-sftp-backup get the unix-Timestamp and wrong Domain: opnsense.localdomain-1783424751.5848.xml

Is there any way to make this more readable, like when manually downloaded: config-OPNsense.lgpug.intern-20260707135038.xml

Thank you!

Wrong domain? It comes from your settings: System | Settings | General
So you need to set the correct domain there and the config will adapt. As for the unix timestamp I'm sure there was a discussion about it before on the forum. It must habe been agreed to leave for a reason. Of course finding the conversion from unix epoch is easy but we all know that.

Hello Cookiemonster,

thank you for your reply!

hi there,

for me sorting files descending with unix epoch in filename somtimes differs from sorting by change date. (i have to sort by change date rather than by filename to get correct result).

What am i doing wrong?

It would be for anyone. You're not wrong.
The system is unix-like so it has a date function. If you type "date" without the quotes, it'll present the human-readable date and time.
You could write some script to append it or something like that.
Let me see if I can find the previous conversation on this forum about it.
p.s. the download will also have a human timestamp of the downloaded file on the receiving system, which could also be useful.