mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
Update cliParser.py
Add argument to pass an optional backupPath to cyberpanel cli createBackup function so you can call the createBackup function and specify to backup to a specific path like another mount or path for scripting backups where you want them vs being hardcoded to /home/<domain name>/backup
This commit is contained in:
@@ -22,6 +22,7 @@ class cliParser:
|
|||||||
parser.add_argument('--dkim', help='DKIM Signing')
|
parser.add_argument('--dkim', help='DKIM Signing')
|
||||||
parser.add_argument('--openBasedir', help='To enable or disable open_basedir protection for domain.')
|
parser.add_argument('--openBasedir', help='To enable or disable open_basedir protection for domain.')
|
||||||
parser.add_argument('--fileName', help='Complete path to a file that needs to be restored.')
|
parser.add_argument('--fileName', help='Complete path to a file that needs to be restored.')
|
||||||
|
parser.add_argument('--backupPath', help='Backup path to use when generating a backup.')
|
||||||
|
|
||||||
## Package Arguments.
|
## Package Arguments.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user