EN backup singleplace: Unterschied zwischen den Versionen

Aus Autopoll-Dokumentation
Zur Navigation springen Zur Suche springen
Oehlstoeter (Diskussion | Beiträge)
Oehlstoeter (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Vorlage:InArbeit|}}
{{Vorlage:TOCright}}
{{Vorlage:TOCright}}
==Preamble==
==Preamble==
Zeile 6: Zeile 5:
==Process==
==Process==
The backup process includes three steps:  
The backup process includes three steps:  
* Step 1: By starting the Autopoll backup the firebird database server will create out of the Autopoll database file (APVx.GDB) a transaction secure firebird backup file (APVx.GBK), which is being stored beside the Autopoll database.  
* Step 1: By starting the Autopoll backup the firebird database server will create out of the Autopoll database file (APVx.GDB) a transaction secure firebird backup file of the Autopoll database (APVx.GBK), which is being stored beside the Autopoll database.  
* Step 2: The backup file (APVx.GBK) will be put together with the license file (dasi.txt) in a ZIP file.  
* Step 2: The firebird backup file of the Autopoll database (APVx.GBK) will be put together with the license file (dasi.txt) in a ZIP file.  
* Step 3: The ZIP file will be stored in the defined place.
* Step 3: The ZIP file will be stored in the defined place.
All steps should run automatically in succession.
All steps should run automatically in succession.
Zeile 20: Zeile 19:
* Database: Path of the Autopoll database. This path can't be configured here because it is only defined in the configuration file (APVx.INI).
* Database: Path of the Autopoll database. This path can't be configured here because it is only defined in the configuration file (APVx.INI).


* Backup File: Pfadname der zu erzeugenden, komprimierten Sicherungsdatei. Die Pfadangaben müssen mit der Dateiendung/Dateityp ".ZIP" enden. Der Speicherort muss zum Zeitpunkt der Datensicherung zur Verfügung stehen, es muss genügend Speicherplatz vorhanden sein und der Benutzer muss dort Lese- und Schreibrechte besitzen.
* Backup File: Path and name of the compressed Autopoll backup file. The filename has to end with the file-extension ".ZIP". The defined memory location has to be available (connectivity), with enough hard disc space and the user rights to read and write in the moment of the start of the Autopoll backup.


{{Vorlage:Achtung | '''An Autopoll backup file (ZIP) should not be stored/saved on the same hard disc nor on the same computer as the Autopoll database !'''}}
{{Vorlage:Achtung | '''An Autopoll backup file (ZIP) should not be stored/saved on the same hard disc nor on the same computer as the Autopoll database !'''}}
    
    
* incl. communication trace files: Not only the Autopoll database, but also the [[EN_communicationtracefiles | communication-trace-files]] (of older card readers) will be saved in the Autopoll backup ZIP file.  
* incl. communication trace files: Not only the Autopoll database, but also the [[EN_communication_trace_files | communication-trace-files]] (of older card readers) will be saved in the Autopoll backup ZIP file.  


* Expertenmodus: In an Autopoll single place infrastructure this mode is not necessary. In an Autopoll network infrastructure this option has to be activated immediately after the completed network installation to configure the [[EN_backup_network | backup in a network]] correctly.
* Expertenmodus: In an Autopoll single place infrastructure this mode is not necessary. In an Autopoll network infrastructure this option has to be activated immediately after the completed network installation to configure the [[EN_backup_network | backup in a network]] correctly.


* Dateien organisieren: With this function a list of Autopoll backup files can be displayed with the possibilty to delete old backups. ( description further below )
* Backup Files: With this function a list of Autopoll backup files can be displayed with the possibilty to delete old backups. ( description further below )


==Additional hints==
==Additional hints==
* Wenn bei einer Datensicherung Fehler auftreten, dann empfiehlt es sich eine Datenbank Reorganisation vorzunehmen. Bei einer Datenbank Reorganisation wird die Autopoll Datenbank gesichert und anschließend wieder rückgesichert. Kleinere Datenbank Beschädigungen können dadurch oft behoben werden. Sollte die Datenbank Reorganisation nicht erfolgreich sein, dann umgehend (ohne weitere Aktivitäten) Kontakt mit der Autopoll-Hotline aufnehmen.  
* If an error occurs during the Autopoll backup, it is recommended to execute a database reorganisation. By doing a database reorganisation the Autopoll database will be backuped and restored in short succession. During this backup and restore process minor damages can be repaired automatically. If the database remains broken afterwards please contact without further actions the Autopoll hotline.  


* Es besteht die Möglichkeit Datensicherungen automatisch ausführen zu lassen. [[EN_actionplansscheduler|actionplans and scheduler]]
* There is the possibility to execute the Autopoll backup automatically. [[EN_actionplan_scheduler|actionplans and scheduler]]


==Backup check==
==Backup check==
* Has the backup being finished successfully ?
* Has the backup being finished successfully ?
* Has the Autopoll backup file (ZIP) being stored in the correct folder ?
* Has the Autopoll backup file (ZIP) being stored in the correct folder ?
* Does the Autopoll backup file (ZIP) includes the actual Autopoll backup file (APVx.GBK) ?
* Does the Autopoll backup file (ZIP) contains the actual firebird backup file of the Autopoll database (APVx.GBK) ?


==Backup Files==
==Backup Files==

Aktuelle Version vom 8. April 2021, 13:40 Uhr

Preamble

With this function the whole Autopoll database and optional the communication-trace-files will be stored/saved. It is highly recommended to execute a backup every day. If possible short after the polling of the card reader/s.

Process

The backup process includes three steps:

  • Step 1: By starting the Autopoll backup the firebird database server will create out of the Autopoll database file (APVx.GDB) a transaction secure firebird backup file of the Autopoll database (APVx.GBK), which is being stored beside the Autopoll database.
  • Step 2: The firebird backup file of the Autopoll database (APVx.GBK) will be put together with the license file (dasi.txt) in a ZIP file.
  • Step 3: The ZIP file will be stored in the defined place.

All steps should run automatically in succession.

Hint: If a Firebird database server 2.x is in use, then the parameter (Settings-parameter) "dasi - checkgbk" has to be set to N.

Execution

  • Over File -Database -Backup the following window opens:

  • Database: Path of the Autopoll database. This path can't be configured here because it is only defined in the configuration file (APVx.INI).
  • Backup File: Path and name of the compressed Autopoll backup file. The filename has to end with the file-extension ".ZIP". The defined memory location has to be available (connectivity), with enough hard disc space and the user rights to read and write in the moment of the start of the Autopoll backup.

An Autopoll backup file (ZIP) should not be stored/saved on the same hard disc nor on the same computer as the Autopoll database !

  • incl. communication trace files: Not only the Autopoll database, but also the communication-trace-files (of older card readers) will be saved in the Autopoll backup ZIP file.
  • Expertenmodus: In an Autopoll single place infrastructure this mode is not necessary. In an Autopoll network infrastructure this option has to be activated immediately after the completed network installation to configure the backup in a network correctly.
  • Backup Files: With this function a list of Autopoll backup files can be displayed with the possibilty to delete old backups. ( description further below )

Additional hints

  • If an error occurs during the Autopoll backup, it is recommended to execute a database reorganisation. By doing a database reorganisation the Autopoll database will be backuped and restored in short succession. During this backup and restore process minor damages can be repaired automatically. If the database remains broken afterwards please contact without further actions the Autopoll hotline.

Backup check

  • Has the backup being finished successfully ?
  • Has the Autopoll backup file (ZIP) being stored in the correct folder ?
  • Does the Autopoll backup file (ZIP) contains the actual firebird backup file of the Autopoll database (APVx.GBK) ?

Backup Files

Autopoll backups need disc space on the hard disc. On a regularly base old Autopoll backups should be deleted to get back disc space. This Autopoll function can be used to do this.