Creating and managing multiple backup schedules with Cpremote is straightforward. You can duplicate any existing schedule directly from the server terminal, allowing you to fine-tune your backup configurations for different use cases.
Step 1: Create a Default Schedule
- Login to WHM or cPanel as root.
- Navigate to:
WHM > Plugins > Cpremote Backup > Schedule Backups > Create Default Schedule - Configure your backup preferences:
- Frequency: Daily, Weekly, Monthly
- Retention: Number of backups to keep
- Storage Pools: Choose destination (local or remote)
Once saved, the schedule is stored as a JSON file under /etc/cpremote/schedule/
.
Step 2: Duplicate the Schedule File
- Access your server via SSH or use WHM Terminal.
- Copy the existing schedule file:
cp -v /etc/cpremote/schedule/oldid.json /etc/cpremote/schedule/newid.json
Replaceoldid
with the ID of the schedule you want to copy andnewid
with a unique ID for the new schedule.
Step 3: Rebuild the Schedule Cron Job
To make Cpremote recognize the new schedule:
/usr/local/cpremote/bin/cpremotectl build schedule
Cpremote will now apply the new schedule using your customized settings.
Deleting a Custom Schedule
To delete an unwanted backup schedule:
rm -v /etc/cpremote/schedule/replaceid.json
Replace replaceid
with the ID of the schedule you want to remove.
Notes
- Always ensure each schedule ID (
newid.json
) is unique. - You can create multiple backup routines tailored to different users, directories, or destinations using this duplication method.