Skip to content
Snippets Groups Projects
Commit e30ba945 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[UPD] skip agap v11 files

parent e0401b44
No related branches found
No related tags found
Loading
......@@ -9,6 +9,9 @@ RETURN_CODE="0"
for file in `ls /backup/odoo2/*.latest`
do
CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ")
if [[ "$CONTAINER" == 'odoo_agap' ]] ; then
continue
fi
BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ")
OBJECTS=$(grep "Objects:" $file | cut -d ":" -f 2 | tr -d " ")
LAST_FULL_BACKUP=$(grep full-signature $file | tail -1)
......
......@@ -9,6 +9,9 @@ RETURN_CODE="0"
for file in `ls /backup/odoo/*.latest`
do
CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ")
if [[ "$CONTAINER" == 'odoo_agap' ]] ; then
continue
fi
BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ")
OBJECTS=$(grep "Objects:" $file | cut -d ":" -f 2 | tr -d " ")
LAST_FULL_BACKUP=$(grep full-signature $file | tail -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment