mainstoreBackup - Support: sr #108375, precommand in config file -- what...

 
 

sr #108375: precommand in config file -- what to use it for?

Submitter:  None
Submitted:  Wed 28 Aug 2013 04:54:07 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 29 Aug 2013 02:27:32 PM UTC, comment #1: 

The precommand can be used for whatever you want. The main advantage in using it, is that the STDOUT is logged as a warning and the output of STDERR is logged as an error in the log files of storebackup. So it's easy to monitor.


Just as an example, for mounting I'm using storeBackupMount.pl.
Precommand is used by me for a script which generates a list of all installed packages. Saving this list, /etc, /home and /opt (with installations outside of packet management) I'm saving my Linux workstation.


And - yes - storeBackup.pl waits until precommand is finished.

Heinz-Josef Claes <hjclaes>
Group administrator
Wed 28 Aug 2013 04:54:07 PM UTC, original submission:  

There is the precommand in the config file and I was wondering if this can be used to mount the NFS volume or what is it good for?
I guess the basic question is will your program or config script wait for the NFS to get mounted (if I put it in precommand) and then continue?

I can have them mounted by other means, just wondering.


Anonymous

 

(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 None (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-30 hjclaes StatusNone Done

    Back to the top

    Powered by Savane 3.13-7c56.
    Corresponding source code