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

Remove workaround for Tuleap

parent 93eee3f2
No related branches found
No related tags found
No related merge requests found
...@@ -9,9 +9,6 @@ RETURN_CODE="0" ...@@ -9,9 +9,6 @@ RETURN_CODE="0"
for file in `ls /backup/odoo2/*.latest` for file in `ls /backup/odoo2/*.latest`
do do
CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ") CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ")
if [[ "$CONTAINER" == 'tuleap_filament_dedicated2' ]] ; then
continue
fi
BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ") BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ")
OBJECTS=$(grep "Objects:" $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) LAST_FULL_BACKUP=$(grep full-signature $file | tail -1)
......
...@@ -9,9 +9,6 @@ RETURN_CODE="0" ...@@ -9,9 +9,6 @@ RETURN_CODE="0"
for file in `ls /backup/odoo/*.latest` for file in `ls /backup/odoo/*.latest`
do do
CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ") CONTAINER=$(grep "Container:" $file | cut -d ":" -f 2 | tr -d " ")
if [[ "$CONTAINER" == 'odoo_oikos' ]] || [[ "$CONTAINER" == 'tuleap_filament_dedicated2' ]] ; then
continue
fi
BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ") BYTES=$(grep "Bytes:" $file | cut -d ":" -f 2 | tr -d " ")
OBJECTS=$(grep "Objects:" $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) 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