Skip to main content

When you transfer a site does it include the trash folder?

Comments

5 comments

  • Jcats
    Yes it does, anything in the home directory gets transferred over. If you are using the Backup Wizard, you can check both: /etc/cpbackup-exclude.conf and /home/user/cpbackup-exclude.conf as it may of been excluded this way.
    0
  • WebHostPro
    Perfect, thanks!
    0
  • cPanelLauren
    Thanks @Jcats! Everything included in a standard backup is transferred @WebHostPro including hidden files such as trash.
    0
  • WebHostPro
    Do you know if I add some folders/files to the /home/user/cpbackup-exclude.conf If it will ignore them for a server to server transfer? So the backups use this file to ignore custom things? It's obvious I just wanted to be 100%. This could be very handy.
    0
  • Jcats
    Do you know if I add some folders/files to the /home/user/cpbackup-exclude.conf If it will ignore them for a server to server transfer?

    It doesn't apply when using the WHM > Transfer Tool *The global and local exclude files apply to the account backups that you manage in WHM's Backup interface (cPanel >> Home >> Files >> Backup). ** They should add in the docs it also applies to the Backup Wizard
    So the backups use this file to ignore custom things? It's obvious I just wanted to be 100%. This could be very handy.

    Yes so for example, if you use Softaculous, let's say you don't want to waste the resources backing those up for ALL accounts on the server, you could add: softaculous_backup/ in /etc/cpbackup-exclude.conf Your backups will exclude that directory from all account backups. Or there is one account with 5 million emails that are causing your backups to take forever, you could add mail/ to /home/user/cpbackup-exclude.conf so it will exclude the mail directory for that one account.
    0

Please sign in to leave a comment.