These scripts will copy/ move CyberPanel backup archive(s) from /home/domain/backup
directory to a specified directory by the user.
-
There are two scripts to work with. One is cpbac_a.sh another one is cpbac_m.sh. If you want to use it with crontab/ systemd timer then cpbac_a.sh is suitable for you. If you want to use it manually with prompt (running it by yourself) then cpbac_m.sh is suitable for you.
-
If you want to use cpbac_a.sh then put the
cpbac_a.sh
file to anyhwere you like. E.g.,/home/scripts
.
- Open terminal.
- Give the file execute permission, type/ copy
sudo chmod +x /location/cpbac_a.sh
pressEnter
. - For executing the script, type/ copy
/location/cpbac_a.sh
pressEnter
.