I have the WordPress Snapshot Plugin installed on 3 of my websites. On 2 of them it’s working – transferring the backup to the desired FTP server, but on one it’s not working as it should. It doesn’t create the backup locally nor uploading it via FTP. The plugin’s window looks like this when hitting “Create new snapshot” button :
All good - let's Snapshot!
Reading out the Database
This could take a moment...
The size of your Database File is 358.4 kB.
Archiving your website
This could take another moment...
The size of this Snapshot is 0.01 MB
Send package to FTP site
Connected to 188.8.131.52.
Logged in as snapsh0t
Uploading package to FTP repository...
File was uploaded successfully
The only relevant error is in the Apache log :
tar: Removing leading `/' from member names tar: /var/www/clients/client5/web5/web/*: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors
The archive contains only one file :
Note : client5 and web5 are may be different in your case. You can find the corresponding folder of your site (the internal names) used by ISPConfig in : SITES tab, then click on the domain name, OPTIONS tab.
For this domain I am using PHP Fast-CGI in ISPConfig.
Measures taken :
1. Turn DEBUG on for ISPCONFIG :
Login to ISPConfig and go to: System > Server config > Server (name of the server) > Server
and set Logelevel to Debug.
I checked the ISPConfig log, but no useful info there :
tail -f /var/log/ispconfig/ispconfig.log
2. Enable SuEXEC for the domain :
In ISPConfig, go to SITES, click the domain name, and in the DOMAIN column , check SuEXEC option.
Useful info will be seen in the file below, only if SuEXEC is enabled.
[2013-02-20 16:59:20]: uid: (5006/web5) gid: (5008/client5) cmd: .php-fcgi-starter
PS : I’ve checked the other 2 domains that are working with the plugin, and SuEXEC was enabled.
Tested with Snapshot Backup 2.1.1 and WordPress 3.5.1 on ISPConfig 184.108.40.206 running on Ubuntu 12.04.2 x64 LTS