David,
It sounds like you forgot to define the savefile_path .
Here are the routine lines in a st.cmd file to properly configure
save-restore ...
# set up for autosave/restore
set_requestfile_path("./")
set_savefile_path("/iocinfo/saverestore/iocsrvid1")
set_pass0_restoreFile("srvid1AutosaveV3.sav")
set_pass1_restoreFile("srvid1AutosaveV3.sav")
sr_restore_incomplete_sets_ok = 1
iocInit
create_monitor_set("srvid1AutosaveV3.req",60.0)
Ned
> Hi,
>
> I am using Bob Dalesio's save_restore/dbrestore (bumpless reboot) software and
> notice that the save files, which it writes, follow the current working
> directory of the console shell. This means that, if one invokes
> create_monitor_set during ioc boot and then later issues a "cd xxx" at the ioc
> shell prompt, a new set of save files will be written in the new directory as
> soon as one of the monitored PVs changes. On rebooting the ioc, the database
> reverts to the state before the "cd"!
>
> Was this behaviour a design decision? I think that saving the full path of the
> save file, rather than just its name, in the chlist structure of
save_restore.c
> would correct this behaviour, but maybe there are arguments to the contrary
...
>
> David
> --
> [email protected]
> _/_/_/ _/ _/_/_/ Beamline Group, SLS Project
> _/ _/ _/ Paul Scherrer Institute
> _/_/ _/ _/_/ CH-5232 Villigen-PSI
> _/ _/ _/ Tel: +41 56 310 3616
> _/_/_/ _/_/_/ _/_/_/ Fax: +41 56 310 3294
- Navigate by Date:
- Prev:
save_restore Query David Maden
- Next:
Re: save_restore Query Frank Lenkszus
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
save_restore Query David Maden
- Next:
Re: save_restore Query Frank Lenkszus
- Index:
1994
1995
1996
1997
1998
1999
2000
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|