cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Timestamps in the Backup Logs

cPanelMary shared this idea 8 years ago
Completed

The Legacy backups system was short on timestamps, but it did confirm when the backup started and ended. The new backup system has even fewer timestamps. It would be helpful to have timestamps in the following lines:


* when the entire backup process starts (top of log like the old backup system)

* when each accounts backup starts (maybe on the line that says "pkgacct started"?)

* when the backups system pauses waiting for load to go down

* when each accounts backup completes (maybe with a "completed successfully" or a "completed with errors"?)

* when the entire backup process completes (at the end of the log like the old backup system)

Best Answer
photo

In cPanel & WHM version 11.46.1 and newer logs created by the new backup system are more verbose, and have time stamps in the form of YYYY-MM-DD HH:MM:SS

Replies (5)

photo
1

Backlog logs in cPanel & WHM version 11.46.1 and newer will contain time stamps in the YYYY-MM-DD HH:MM:SS format.

photo
1

Yes, those timestamps would be great. :)

photo
1

We shopped around the timestamp format, and this was unanimously preferred:

"""

[2014-07-29 10:41:03 -0500] pkgacct started.

[2014-07-29 10:41:03 -0500] pkgacct version 10 - user : functest01 - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - archive version: 3 - running with uid 0

[2014-07-29 10:41:03 -0500] pkgacct using '/usr/bin/gzip -6' to compress archives

[2014-07-29 10:41:03 -0500] pkgacct working dir : /backup/2014-07-29/accounts/functest01

[2014-07-29 10:41:03 -0500] Copying Reseller Config...[2014-07-29 10:41:03 -0500] Done

[2014-07-29 10:41:03 -0500] Copying Suspension Info (if needed)...[2014-07-29 10:41:03 -0500] Done

[2014-07-29 10:41:03 -0500] Copying SSL certificates, CSRs, and keys...[2014-07-29 10:41:03 -0500] Done

[2014-07-29 10:41:03 -0500] Copying Domain Keys....[2014-07-29 10:41:03 -0500] Done

"""


We are expecting to merge this into 11.46 shortly.

photo
1

Excellent. I second this!

photo
1

In cPanel & WHM version 11.46.1 and newer logs created by the new backup system are more verbose, and have time stamps in the form of YYYY-MM-DD HH:MM:SS

Replies have been locked on this page!