Skip to main content

How to set Legacy system to only backup MySql databases

Comments

4 comments

  • Infopro
    The docs may be useful to you:
    0
  • Simplyfriday
    Thank you - I've read the docs and they make sense - I have a couple of questions on syntax if you could possibly give it a once over. So the cpbackup-exclude.conf comes has the following files already in there: */.wysiwygPro_* */core.[0-9]+$ .MirrorSearch .cpan .cpanel/caches .cpanel/datastore .cpcpan .sqmailattach access-logs public_ftp/.ftpquota When I use Filezilla to ftp into my server the Remote site address of the directory I wish to exclude is: /home/username/public_html/board My first question is - do I add the address just like that? I ask because .cpan and .cpcpan sit inside the home directory so maybe I should add it as: .username/public_html/board My second question is that I have two additional accounts (usernames) within the home directory that I was using for build and test sites. I don't need either of them backed up. So can I add the following: /home/usernametest /home/usernamebuild or would it be: .usernametest .usernamebuild Thank you very much, Andrew
    0
  • Infopro
    You wouldn't add a dot to an existing directory name. Any directory with a dot in its name already, like .cpan, is for the system. In most cases, you wouldn't have a need to even see them. That is unless you're editing your .htaccess file for some reason, for example. These dot files can be hidden from view. This thread may be of some use in answering both your questions:
    0
  • Simplyfriday
    Thank you very much for the insight= very much appreciated and yes - I'll go and practice on a baby account! Have a great week
    0

Please sign in to leave a comment.