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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How to use Archiver Appliance to archive PVs of only the latest period of time |
From: | "Shankar, Murali" <[email protected]> |
To: | "Wang, Lin" <[email protected]> |
Cc: | "[email protected]" <[email protected]> |
Date: | Mon, 30 Oct 2017 13:49:50 +0000 |
>> Should I use a Python script to directly operate the .pb files in the file system, or to interact with the
Archiver Appliance BPL Servlet/HTTP interface
You can directly operate on the .pb files in the file system. As long as the appliance is not writing to these files; which it would not if the files are for older partitions; you can safely delete the files from the file system using os.remove.
Regards, Murali
From: Wang, Lin <[email protected]>
Sent: Monday, October 30, 2017 3:30 AM To: Shankar, Murali Cc: [email protected] Subject: Re: How to use Archiver Appliance to archive PVs of only the latest period of time Hello Murali,
Sorry for following up this thread so late.
But how should I delete the older data using a Python script? Should I use a Python script to directly operate the .pb files in the file system, or to interact with the Archiver Appliance BPL Servlet/HTTP interface?
Thanks,
Lin
-----Original Messages----- |