Hi there,
So, asking for a friend, in the install directory for Portal there's a folder under <install dir>\backup\walarchive\ which seems to contain a backup file for every hour since it was installed. They've run out of disk space (each file is 16Mb, there's thousands of them), and it's now breaking their portal. So questions are (a) what is this backing up as there's a separate walarchive for the data store (i.e. it's not this one) and (b) how do you manage that backup? I've seen some stuff on managing the backup of the data store, but that doesn't seem to affect this backup?
I'm guessing it's ok to delete the older ones, but they would prefer no to have to keep going back to them over and over again...
Many thanks in advance
Dan
Solved! Go to Solution.
When you mention "if you're not going to run incremental backups, delete the backups manually", by manually do you mean go into File Explorer walarchive folder select all the files in this folder then hit delete?
yes - simple delete in windows explorer of files older than your last full backup is safe
Hi Jonathan
Many thanks, I have passed this information on to the person who was asking, I'm not sure what their DR policy is, hopefully this can solve it for them!
Regards
Dan
Hi @JonathanQuinn ,
is there any update regarding this behaviour?
Is there a way how completely turn these incremental backups off? I would like to get rid of this feature since the customer has different way to make backups (daily backup of virtual images).
Appreciate any new update.
Have a good day,
Jan
Looking for updates as well. The ability to turn it off would be nice, or to reinstate the cap.
Tenemos el mismo problema en versión 10.7.1 y no entendemos la solución que propones, ¿podrías indicar paso a paso que hay que hacer, como frenamos este incremento de archivos permanentes, sin eliminar archivos manualmente?
Saludos,
Anibal Telecom Argentina
Hola @AnibalMmartinez
A partir de la versión 10.5, la base de datos interna del Portal (diferente del ArcGIS Data Store) hace una copia de seguridad en \arcgisportal\backup\walarchive. Estos registros walarchive registran mucho más que las transacciones reales dentro de la base de datos. Registran el estado de la base de datos y otras actividades internas no visibles para el administrador o el usuario del portal. Se escriben en el disco cada hora (16 MB aprox.), independientemente de la actividad; el ritmo de escritura puede ser superior a una hora en algunos casos. Existe una restricción del espacio utilizado pero la misma se quita cuando se realiza un respaldo completo, o bien se hace una carga de un respaldo previo en el ambiente.
En la actualidad no hay manera de controlar las copias de seguridad incrementales de Portal (en versiones previas a 10.9)*. Estas son copias de seguridad para proporcionar la información necesaria cuando se realice una copia de seguridad completa; la manera de borrar estos registros es ejecutar un webgisdr completo (un respaldo de la configuración y los datos del ambiente).
*Nota: La capacidad de modificar la copia de seguridad incremental de Portal esta disponible para ArcGIS Enterprise 10.9.
Teniendo claro lo anterior, las opciones que se pueden abordar son:
Espero que los datos sean de utilidad.
Saludos.
Mil Gracias @lvargas !
Still happening at 10.9.1. I dont use WebGISDR on my development system and its always running out of space.
I wrote this batch file which will clear out the walarchive folder using the pg_archivecleanup Postgres utility
off
SET PGBIN=C:\ArcGIS\Portal\framework\runtime\pgsql\bin
SET LOC=C:\arcgisportal\backup\walarchive
FOR /F "delims=|" %%I IN ('DIR "%LOC%" /B /O:D') DO SET NewestFile=%%I
echo %NewestFile%
%PGBIN%\pg_archivecleanup.exe %LOC% %NewestFile%
pause