Explorar el Código

me he cargado el nodo con este comando, posiblemente el find lo hizo

pull/1/head
Pablo Sarria hace 6 años
padre
commit
47cb0671e7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      zonebackuptofile.sh

+ 2
- 2
zonebackuptofile.sh Ver fichero

@@ -3,7 +3,7 @@
usage()
{
echo "Usage: $0 -z UUID -d days -r remote_folder -l local_folder -s server -t type" >&2
echo "ex: $o -z bbba5ecb-5bda-47a5-e103-a6bfa368bf68 -d 1 -r remote_folder -l /zone/tools/nfsshare -s 192.168.5.243 -t nfs" >&2
echo "ex: $0 -z bbba5ecb-5bda-47a5-e103-a6bfa368bf68 -d 1 -r remote_folder -l /zone/tools/nfsshare -s 192.168.5.243 -t nfs" >&2
exit 1
}

@@ -72,7 +72,7 @@ if [ $? != 0 ]; then
fi

# mantain backups of the last N days
find $LFOLDER/$UUID -type f -mtime +$DAYS -delete
#find $LFOLDER/$UUID -type f -mtime +$DAYS -delete

snapshot()
{


Cargando…
Cancelar
Guardar