Pārlūkot izejas kodu

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

pull/1/head
Pablo Sarria pirms 6 gadiem
vecāks
revīzija
47cb0671e7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      zonebackuptofile.sh

+ 2
- 2
zonebackuptofile.sh Parādīt failu

@@ -3,7 +3,7 @@
usage() usage()
{ {
echo "Usage: $0 -z UUID -d days -r remote_folder -l local_folder -s server -t type" >&2 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 exit 1
} }


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


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


snapshot() snapshot()
{ {


Notiek ielāde…
Atcelt
Saglabāt