Remove Home Directory From Fullbackup Destination
hello
i need to remove only home directory from Backup Destination in cPanel account.
I don't want cPanel Users back up Files at home directory.But the other options don't matter. (FTP,SCP...)
This may be?
-
Hello, You can exclude specific directories from your backups. The following documentation goes over this: How to Exclude Files from Backups | cPanel & WHM Documentation 0 -
@cPanelLauren I think he wants to prevent cPanel users from saving backups in the home directory. 0 -
@cPanelLauren I think he wants to prevent cPanel users from saving backups in the home directory.
Ahh thanks for the clarification @quietFinn. While that documentation does allow for exclusions per user - it'd be for automated backups only and they'd be able to modify it. If that's the case, there's not a way to do this natively within cPanel but you could create a script that removes .tar.gz files from /home/ and add it as a cron with the root user, though the danger of this would be that it will remove anything with that file extension.0
Please sign in to leave a comment.
Comments
3 comments