Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #73352
    Mansoor Akram
    Guest

    Hello, currently I have a backup directory “/var/www/boldgrid_backup” but since I rent the vps I can save the backup anywhere in system. I am trying to save it in /home/{{USERNAME}}/backups directory but whatever directory I try gives me “Invalid backup directory” error. I have tried “/”, “/home” and other directories. Can I save data in any directory other than www ?

    #73418
    Brandon C
    Keymaster

    Hi Mansoor,

    Thanks for reaching out with your Total Upkeep questions! I think you may be having trouble with your file path. You can save your backup in other directories but it must end in /boldgrid_backup for example: /home/{{USERNAME}}/boldgrid_backup.

    I hope this helps Mansoor! Please let us know if you still run into trouble after trying this way.

    #73423
    Mansoor Akram
    Guest

    Hey. I already tried that but it does not work. Currently the directory is “/var/www/boldgrid_backup”, even if I remove www and try to change directory to “/var/boldgrid_backup” or “/var/www/{{website_folder}}/boldgrid_backup” both won’t work and I get same invalid directory issue.

    Can the issue be permissions?

    I also see that preflight check for option “Possible backup directory parents:” I only see 2 directories.

    1. /var/www
    2. /var/www/html/{{website_folder}}/wp-content

    #73903
    Brandon C
    Keymaster

    Thanks Mansoor,

    Yes this definitely looks like a permissions issue in this case. You should contact your web host if possible and ask for help with the best way to proceed. Normally when you see this it means your System Administrator disabled write permissions on the root of your website, and only allows the user to write to the wp-content directory rather than the core WordPress files.

    You’ll need to log into your cPanel and change your user permissions in order for the restoration to complete. I also found a guide on Changing File Permissions in cPanel
    that you might find useful.

    #73913
    Mansoor Akram
    Guest

    Its my own VPS server on which I am hosting the website. I have full control, let me know how I can enable any directory I want. Should I add the directory (in which I want to store backup file(s)) to www-data user?

    #73987
    Brandon C
    Keymaster

    Hi Mansoor,

    You’ll need to go into your file management system on your server and change the permissions of the folder you want to copy your backup to so that it can be writable.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How can I change my Total Upkeep backup directory?’ is closed to new replies.