fix(nextcloud): Include namespace in cp
This commit is contained in:
parent
03e1d3266c
commit
7f801e6430
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ k3s kubectl exec "${database_container}" --namespace "${namespace}" -- env $(cat
|
|||
# Files backup
|
||||
for file in 'config' 'themes'; do
|
||||
printf "Copying %s\n" "${file}"
|
||||
k3s kubectl cp "${base_container}":"/var/www/html/${file}" "${destination}"
|
||||
k3s kubectl --namespace "${namespace}" cp "${base_container}":"/var/www/html/${file}" "${destination}"
|
||||
done
|
||||
|
||||
# Turn off maintenance mode
|
||||
|
|
Loading…
Reference in a new issue