Want more control over my backups

Haider1259

Registered
Jun 27, 2022
2
0
1
Pakistan
cPanel Access Level
Website Owner
Hi! I want more control over my backup like I've excluded a few .zip files. Doing manual backups, I don't want to ignore these files... But unfortunately, I'm unable to customize my backup. How can I do that? Please help me out with this.
 

cPanelWilliam

Administrator
Staff member
Mar 13, 2018
101
16
93
Houston
cPanel Access Level
Root Administrator
Hello! Can you clarify exactly what you are wanting to change within your backups? Running a manual /scripts/pkgacct backup should not take your file exclusions into account according to our documentation:
If you perform a backup with the /scripts/pkgacct script, the global and local exclude files do not affect the contents of the backup file.
Depending on what you are trying to accomplish, you can try using our backup excludes system or configuring a pre or post-backup hook:

https://docs.cpanel.net/knowledge-base/backup/how-to-exclude-files-from-backups/

https://api.docs.cpanel.net/guides/guide-to-standardized-hooks/