Tagged: Including and Excluding Files
- AuthorPosts
- June 4, 2021 at 3:47 pm #38835George AntoGuest
We have more than one WP site in our public_html and the backup made by Total Upkeep ended up being 22Gb and had an error.
How do I specify/customize just the single WP installation from which I am running the backup?
Thanks!
-GeorgeJune 4, 2021 at 5:04 pm #38840Jesse OwensKeymasterHi George-
Thanks for the great question, and thanks for using the Total Upkeep WordPress Backup Plugin.
You can exclude your other websites’ directories by selecting the option for a Custom Backup when you create it.
You can do this both when you create a manual backup, as well as for all of your scheduled backups, in the Total Upkeep > Settings > Backup Storage menu.
Also note that you can use the Preview button here so that you can double-check that you got all of them in the list of excluded directories.
June 4, 2021 at 5:57 pm #38841GeorgeGuestHi Jesse!
I purchased the premium version for myself already and this is specifically for where I work part-time.
The reason this is tricky is because of this awkward collection of addon domains :
Sample public_html content:
— wp files (not for the site I want – arttocanvas)
– lots of folders with other domain names
– lots of folders with miscellaneous content
– ONE FOLDER is arttocanvas, having it’s own WP installation.So WPCORE grabs what info exactly? the main WP files + the 3 wp- folders?
All I want to save is JUST the WP files under the arttocanvas folder.
Can this help you make a more specific recommendation to avoid another backup of 22Gb? 🙂
Thanks!
June 4, 2021 at 6:08 pm #38843Jesse OwensKeymasterHi George-
Thanks for the clarification, I misunderstood and I thought your target site had its core files in public_html with all the other sites.
In the situation you described, it should not be backing up your other sites. Instead, I suspect there’s something very large inside your
arttocanvas
directory. You’re right that WPCORE is only the core files of WordPress.There is a tool included in Total Upkeep to help with this. Navigate to Total Upkeep > Settings > Backup Process and enable the option for the Filelist Analysis. Attempt to create another backup, and then you’ll find the analysis in your Total Upkeep > Tools > Logs. This log file will try to locate any large files and will give you a list of them along with their directories.
Common things to look for are backups that might have been created by another plugin. Check your wp-content folder for anything other than
uploads
,plugins
, andthemes
.Another common situation is just having lots and lots of media. If you have any large videos, or tons of images and media, you can also exclude
/wp-content/uploads
.June 7, 2021 at 4:16 pm #38849GeorgeGuestThanks for getting back to me. What you say makes sense.. I’ll take a look and let you know what I find. Thanks very much!
June 7, 2021 at 4:16 pm #38897GeorgeGuestHi Jesse, I realize that this question pops up again on the flip-side — namely,when I’m restoring a site back.
I remade the site on another server and now want to restore it on the original site — without deleting all the other folders/add on domains/etc that exist in public_html.
Is there a way of targeting and excluding items on the return trip?
Thanks!
June 7, 2021 at 4:17 pm #38908GeorgeGuestOK, I managed a different way. I moved everything out of the folder for a few minutes until I did the backup. Clumsy but functional.
BUT, trying to exclude some files from the new backup:
EXLUDE:
.git,node_modules, /art1.ca, art2.com/, art3.com/But they were not excluded. From my server where it was alone in the folder, the file size was 138Mb. But here, with all the extra folders, it goes up to a file of 1.2Gb.
What am I doing wrong?
Thank you!
June 7, 2021 at 4:22 pm #38948Jesse OwensKeymasterHi George-
Glad to hear you’re making some progress!
Is there a way of targeting and excluding items on the return trip? […] without deleting all the other folders/add on domains/etc that exist in public_html.
Total Upkeep won’t overwrite anything that wasn’t in the backup file, so any excluded files and folders won’t be deleted when you restore the backup.
If I’m understanding your second question correctly, the
art1.ca
,art2.com
, andart3.com
folders are inside your site’s directory?First, eliminate the extra spaces you have there, and make sure the
/
character is in front of the directory name, so it looks like this:
.git,node_modules,/art1.ca,/art2.com,/art3.com/
You should be able to confirm that you’ve got the excludes correct by clicking the Preview button and checking to make sure they’re all excluded.
- AuthorPosts
- The topic ‘Total Upkeep backed up all of the sites in public_html’ is closed to new replies.