Tagged: Manual Backup, Total Upkeep
- AuthorPosts
- December 16, 2022 at 11:17 am #73352Mansoor AkramGuest
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 ?
December 16, 2022 at 11:19 am #73418Brandon CKeymasterHi 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.
December 21, 2022 at 10:33 am #73423Mansoor AkramGuestHey. 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-contentDecember 21, 2022 at 11:04 am #73903Brandon CKeymasterThanks 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.December 22, 2022 at 10:17 am #73913Mansoor AkramGuestIts 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?
December 22, 2022 at 10:19 am #73987Brandon CKeymasterHi 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.
- AuthorPosts
- The topic ‘How can I change my Total Upkeep backup directory?’ is closed to new replies.