Introduction
By default, JetBackup uses the following directory as a temporary directory when creating a backup for your accounts:
/usr/local/jetapps/usr/jetbackup/workspace/$BACKUP_ID
This directory is used for gathering files for your accounts, dumping a user's MySQL databases to store in the backup, and other items that need temporary storage.
This can be problematic if storage is limited on your disk at this location. For example, if your /usr directory is on another partition or part of a smaller root partition where backups and user directories are stored on other partitions or drives as the backup may not have enough temporary storage to generate.
Procedure
To change this, copy the JetBackup workspace directory to the location you would like to use for temporary storage. This is recommended as JetBackup stores metadata in this directory for your server. For example, if /backup is mounted as an external partition used for your backups, the following can be used:
cp -a /usr/local/jetapps/usr/jetbackup/workspace /backup/workspace
Once the above copy operation is completed, log in to your WHM and access the JetBackup Plugin at Plugins » JetBackup. Access the "Settings", and find the option named Workspace Directory. Update this option to the workspace directory chosen to use, for example, /backup/workspace.
Next time that JetBackup runs a backup, the directory /backup/workspace/$BACKUPID will be used for temporary storage when generating your backup.
Comments
0 comments
Article is closed for comments.