Hate to bother but i am once again stuck
When i run the regex with vzdump it tells me that the vmid is an invalid format
for i in $(pct list | awk '/[0-9]/{print $1}' ); do vzdump "$i" --mode suspend --maito $email --compress gzip --storage $backupdrive ; done
vzdump must not like the format...
When i run my version of the first script
# for i in $(pct list | awk '/\d/{print $1}'); do pct push "$i" myscript.sh myscript.sh ; done
It pushes my script to all containers but the container with the id 100. i tried doing a pct push in the command line and it seemed to work in that case but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.