• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Plesk restore changes all timestamps

mr-wolf

Silver Pleskian
Plesk Guru
Today I restored a back-up for a client and noticed that this bug is still not fixed.
I don't know how exactly plesk restores these sites, but somewhere in the process (I think during restore) it loses the IMHO valuable information of the last modified date of all the files.

I have reported this several times over the last years and each restore I hope that it is fixed.

Recently I've been asked to give my opinion about the layout of the domain screen.
I can't say I could come up with anything, but if you ask someone so direct they most of the time come up with something.

Please, please focus on bugs that are so clearly wrong.
Here are the 2 that annoy me the most:
  • Files lose their "last modified" attribute upon restore of a site
  • The SOA-record is random and can change during its lifetime to one of NS-records.
I like Plesk so much, but this is really frustrating.
There has to be someone that can take a look at it and see where it goes wrong. "tar" and "mv" by default keep these attributes, so maybe it's a "cp -r" where a "cp -rp" has to go.
I don't know. It's not my job nor my product. But I can't imagine it will take more than an hour to find the failing line for someone who wrote this software.

Gone are the original dates:

-rw-r--r-- 1 ****** psacln 123 Jul 3 11:25 .user.ini
drwxr-xr-x 2 ****** psacln 4.0K Jul 3 11:25 .protect
-rw-r--r-- 1 ****** psacln 663 Jul 3 11:25 .htaccess
-rw-r--r-- 1 ****** psacln 111K Jul 3 11:25 favicon.ico
drwxr-xr-x 2 ****** psacln 4.0K Jul 3 11:25 css
-rw-r--r-- 1 ****** psacln 5.4K Jul 3 11:25 wp-activate.php
-rw-r--r-- 1 ****** psacln 442 Jul 3 11:25 wordfence-waf.php
-rw-r--r-- 1 ****** psacln 294 Jul 3 11:25 robots.txt
-rw-r--r-- 1 ****** psacln 7.3K Jul 3 11:25 readme.html
-rw-r--r-- 1 ****** psacln 20K Jul 3 11:25 license.txt
-rw-r--r-- 1 ****** psacln 418 Jul 3 11:25 index.php
drwxr-xr-x 2 ****** psacln 4.0K Jul 3 11:25 img
-rw-r--r-- 1 ****** psacln 2.8K Jul 3 11:25 wp-config-sample.php
-rw------- 1 ****** psacln 2.9K Jul 3 11:25 wp-config.php
-rw-r--r-- 1 ****** psacln 1.9K Jul 3 11:25 wp-comments-post.php
-rw-r--r-- 1 ****** psacln 364 Jul 3 11:25 wp-blog-header.php
drwxr-xr-x 10 ****** psacln 4.0K Jul 3 11:25 wp-admin
-rw-r--r-- 1 ****** psacln 3.6K Jul 3 11:26 wp-cron.php
drwxr-xr-x 10 ****** psacln 4.0K Jul 3 11:26 wp-content
-rw-r--r-- 1 ****** psacln 3.0K Jul 3 11:26 xmlrpc.php
-rw-r--r-- 1 ****** psacln 4.6K Jul 3 11:26 wp-trackback.php
-rw-r--r-- 1 ****** psacln 30K Jul 3 11:26 wp-signup.php
-rw-r--r-- 1 ****** psacln 16K Jul 3 11:26 wp-settings.php
-rw-r--r-- 1 ****** psacln 7.9K Jul 3 11:26 wp-mail.php
-rw-r--r-- 1 ****** psacln 37K Jul 3 11:26 wp-login.php
-rw-r--r-- 1 ****** psacln 3.3K Jul 3 11:26 wp-load.php
-rw-r--r-- 1 ****** psacln 2.4K Jul 3 11:26 wp-links-opml.php
drwxr-x--- 10 ****** psaserv 4.0K Jul 3 11:26 .
drwxr-xr-x 18 ****** psacln 12K Jul 3 11:26 wp-includes
drwx--x--- 7 ****** psaserv 4.0K Jul 3 11:26 ..
 
I used "tar" to extract the tgz in /var/lib/psa/dumps/ by hand and restored the files with their original dates and eliminated the above mess the "plesk restore" made:

-rw-r--r-- 1 ****** psacln 294 Sep 28 2016 robots.txt
-rw-r--r-- 1 ****** psacln 418 Sep 28 2016 index.php
-rw-r--r-- 1 ****** psacln 2.8K Oct 2 2016 wp-config-sample.php
-rw-r--r-- 1 ****** psacln 364 Oct 2 2016 wp-blog-header.php
-rw-r--r-- 1 ****** psacln 3.0K Nov 27 2017 xmlrpc.php
-rw-r--r-- 1 ****** psacln 4.6K Nov 27 2017 wp-trackback.php
-rw-r--r-- 1 ****** psacln 16K Nov 27 2017 wp-settings.php
-rw-r--r-- 1 ****** psacln 7.9K Nov 27 2017 wp-mail.php
-rw-r--r-- 1 ****** psacln 3.3K Nov 27 2017 wp-load.php
-rw-r--r-- 1 ****** psacln 2.4K Nov 27 2017 wp-links-opml.php
-rw-r--r-- 1 ****** psacln 3.6K Nov 27 2017 wp-cron.php
-rw-r--r-- 1 ****** psacln 111K Apr 23 11:41 favicon.ico
drwxr-xr-x 2 ****** psacln 4.0K Apr 23 11:41 css
-rw-r--r-- 1 ****** psacln 20K Apr 23 13:11 license.txt
-rw------- 1 ****** psacln 2.9K Apr 23 13:14 wp-config.php
-rw-r--r-- 1 ****** psacln 442 Apr 23 14:44 wordfence-waf.php
-rw-r--r-- 1 ****** psacln 123 Apr 23 14:44 .user.ini
-rw-r--r-- 1 ****** psacln 663 Apr 23 14:44 .htaccess
-rw-r--r-- 1 ****** psacln 30K May 18 00:02 wp-signup.php
-rw-r--r-- 1 ****** psacln 37K May 18 00:02 wp-login.php
-rw-r--r-- 1 ****** psacln 1.9K May 18 00:02 wp-comments-post.php
-rw-r--r-- 1 ****** psacln 5.4K May 18 00:02 wp-activate.php
-rw-r--r-- 1 ****** psacln 7.3K May 18 00:02 readme.html
drwxr-x--- 10 ****** psaserv 4.0K Jun 28 20:23 .
drwx--x--- 7 ****** psaserv 4.0K Jul 3 12:00 ..
drwxr-xr-x 2 ****** psacln 4.0K Jul 3 12:19 .protect
drwxr-xr-x 7 ****** psacln 4.0K Jul 3 12:19 test
drwxr-xr-x 2 ****** psacln 4.0K Jul 3 12:19 img
drwxr-xr-x 10 ****** psacln 4.0K Jul 3 12:19 wp-admin
drwxr-xr-x 10 ****** psacln 4.0K Jul 3 12:19 wp-content
drwxr-xr-x 18 ****** psacln 12K Jul 3 12:19 wp-includes
 
Back
Top