-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding check_best_practices and crosscheck fix
1. adding check_best_practices 2. crosscheck fix - check only X latest days - crosscheck maybe extremely slow with commvault and maybe other backup solutions.
- Loading branch information
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ CUMULATIVE=1 #one of: 0 or 1 (to use CUMULATIVE incremental backups) | |
BACKUP_PARALLELISM=2 #number of channels / parallelism | ||
RECOVERY_WINDOW=35 #in days (at least one full business cycle +a few days if space allows) | ||
DBA_EMAIL="[email protected]" #where to send notifications and errors | ||
FIX_BEST_PRACTICES=1 #if 1, then will fix best practices automatically | ||
BACKUP_DEBUG=0 #one of: 0 or 1 (backup script debug) | ||
|
||
#------------------------------------------------------------------ | ||
|
@@ -132,8 +133,8 @@ fi | |
|
||
#platform-specific renice/nice commands: | ||
case `uname` in | ||
Linux) RENICE="renice +$NICE" ;; | ||
*) RENICE="renice -n $NICE" ;; | ||
Linux) RENICE="renice +$NICE" ;; #in Linux renice sets nice priority to absolute value, | ||
*) RENICE="renice -n $NICE" ;; #while in UNIX it is relative change (lower priority) | ||
esac | ||
NICE="nice -n $NICE" | ||
|
||
|