• Resolved Robbie Link

    (@robbie)


    I authorized the plugin to Google Drive as instructed and created a Drive folder for xcloner backups. I was able to send a backup to that folder from xcloner but realized I wanted to be able to have subfolders for each website to back up and so created a subfolder under the xcloner-backup folder in drive and adjusted my settings in xlconer. When I tried to re-verify the settings to Drive I got a file not found error and when I tried uploading a test backup from “manage backups” I got the same error.
    So everything works fine with a folder in drive but not with a sub-folder.
    Bug?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor XCloner

    (@xcloner)

    Have you tried using the subfolder ID as mentioned in the info mark near that field?

    Folder ID can be found by right clicking on the folder name and selecting ‘Get shareable link’ menu, format https://drive.google.com/open?id={FOLDER_ID}<br />
    If you supply a folder name, it has to exists in the drive root and start with / , example /backups.xcloner.com/

    Thread Starter Robbie Link

    (@robbie)

    Excellent! Yes – that worked. Many thanks.

    Thread Starter Robbie Link

    (@robbie)

    marking resolved

    I have tried using the folder ID and not the name, but i get this error:

    Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 37748768 bytes) in /wp-content/plugins/xcloner-google-drive/vendor/nao-pon/flysystem-google-drive/src/GoogleDriveAdapter.php on line 1191

    The file size of the backup is 5Gb

    • This reply was modified 6 years, 4 months ago by fidoboy.
    Thread Starter Robbie Link

    (@robbie)

    @fidoboy – I believe that’s a problem on your end. You will need to increase the PHP Memory limit. The way to do so varies from system to system so check with your system administrator. I was able to do mine via the .htaccess file but I know that does not always work.

    @robbie I’m the system administrator. The PHP limit is even over the standards. I don’t believe that this could be the problem. I think that it’s a problem with this plugin.

    Thread Starter Robbie Link

    (@robbie)

    @fidoboy Your backup file is larger than mine was and I had to raise my limit to 256M but looks like yours needs more. Yes – it could be a problem with the plugin that it requires so much memory – I don’t know how those things work and what the standards are but why don’t you try raising it more (I think with most hosts you can go to 1024 max) to see it that solves it and then hopefully one of the developers will chime in to see if there’s anything they need to do with the plug-in. Since I had marked this particular issue as resolved maybe you should start a new thread because otherwise they may not see it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not able to backup to subdirectory in Google Drive’ is closed to new replies.