helpstoreBackup - Support: sr #108439, illegal parameter for option...

 
 

sr #108439: illegal parameter for option keepRelative, must be a list of intervals

Submitter:  None
Submitted:  Mon 11 Nov 2013 04:49:41 PM UTC
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 12 Nov 2013 07:24:21 AM UTC, comment #2: 

Thank you Heinz-Josef. Works!

Anonymous
Mon 11 Nov 2013 05:05:28 PM UTC, comment #1: 

When trying to get the value really delivered to the program in complicated or unclear situations, use option --print.

Setting in the configuration file eg:
keepRelative =1d 7d 61d 92d
and using option --print writes the following result to stdout:
keepRelative
<1d>
<7d>
<61d>
<92d>

starting storeBackup.pl like:
storeBackup.pl -s s -b b --keepRelative '1d 7d 61d 92d' --print
gives the same result.

So both calls are the same.

This also worked for your example
--keepRelative '1d 7d'

I just tested this behaviour with version 3.4.3. But since a long time there were no changes at these points.

(Option --print is just for printing the settings. StoreBackup.pl stops after printing and does not make any backup or something else.)

Hope this helps,
Heinz-Josef

Heinz-Josef Claes <hjclaes>
Project Administrator
Mon 11 Nov 2013 04:49:41 PM UTC, original submission:  

What's the correct syntax with cmdline on keepRelative?

./storeBackup.pl --sourceDir / --backupDir /backup -e 'tmp' -e 'proc' -e 'backup' -e 'sys' -e 'dev' -e 'lost+found' --logFile /tmp/storeBackup.log --plusLogStdout --keepRelative ??

I tried: 1d,7d
--keepRelative 1d,7d
--keepRelative '1d 7d'
--keepRelative 1d 7d

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)
  •  

    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.9