mainstoreBackup - Support: sr #109338, Command line parameters to...

 
 

sr #109338: Command line parameters to precommand/postcommand

Submitter:  Hamish Moffatt <hmoffatt>
Submitted:  Fri 23 Jun 2017 12:32:17 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Jun 2017 12:25:03 PM UTC, comment #1: 

Very nice idea. Shame on me I didn't yet had it ;-)

I added
$STBU_sourceDir, $STBU_backupDir, $STBU_series, $STBU_tmpDir,
$STBU_lockFile, $STBU_followLinks, $STBU_lateLinks,$STBU_lateCompress,$STBU_verbose, $STBU_doNotDelete, $STBU_deleteNotFinishedDirs,
$STBU_logFile, $STBU_logInBackupDir,

Do you miss something?
Please send me a direct email to -email is unavailable- if want to test / use it.

Regards, Heinz-Josef

Heinz-Josef Claes <hjclaes>
Group administrator
Fri 23 Jun 2017 12:32:17 AM UTC, original submission:  

Are there any command line parameters or environment variables passed to the precommand or postcommands when run, that would tell them about the backup job being run?

I think it would be useful in the postcommand to know the path of the new backup for example. Maybe the config variables too in some uses.

I looked in the source and it didn't look like any parameters or variables are passed.

Thanks,
Hamish

Hamish Moffatt <hmoffatt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hjclaes (Posted a comment)
  • -email is unavailable- added by hmoffatt (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code