4 Replies Latest reply on Apr 18, 2018 12:48 PM by Gerhard Polenz

    backup Pi Archive


      dear All,


      I'm new bie of OSI PI, I have running backup script using Piartool, the result only backup archive with status = "Has Data" but cannot backup primary archive.


      Please advise




        • Re: backup Pi Archive
          Gerhard Polenz

          PI Backup will not backup empty archives (makes no sense to backup them as they do not contain any data). For an empty archive the Start and End Time are both "Current Time".

          For your primary archive the Start Time will not be empty, however the End Time will be "Current Time". Typically, the primary archive is always included in the PI backup. What do you have in column "Backup Time" in SMT -> Operation - Archives Backup Time ? Is your PI Data Archive Server running? Is the PI Archive Subsystem service running?

          • Re: backup Pi Archive

            Hi Jerry,

            In addition to what Gerhard mentioned regarding the primary archive, could you also provide the command line you used to run the backup?  Also what version of PI Data Archive are you using?  To see the current status of a backup (or status of previous backup), can you provide the output of "piartool -backup -query"?


            You can also view all PI Backup history and what files were included/not included and for what reason in PI SMT -> Operation -> Backups for more information.


            Another thing to mention, running a backup using piartool is good for "on-demand" backups, but make sure you have also configured the PI Backup scheduled task which will backup the PI Data Archive at 3:15am each night (default).


            - Adam