linux:skala

Скала

# Get all snapshots 
prlctl list -a | grep { |  awk '{print $5}' | xargs  -t -n1 prlctl snapshot-list $1
ISOJ-prod-pub-se-0-75            10.59.0.75 	isoj  - Integrity 63
ISOJ-prod-se-1-202               10.59.1.202 	isoj  - Integrity 63
 
Skala-R
 prlctl start ISOJ-prod-pub-se-0-80
 prlctl stop ISOJ-prod-pub-se-0-80
 
# snapshots https://docs.virtuozzo.com/virtuozzo_hybrid_server_7_users_guide/managing-virtual-machines-and-containers/managing-snapshots.html
 prlctl snapshot ISOJ-prod-pub-se-0-80 -n Clean_System_Astra_SE -d "This snapshot was created right after \
 installing AstraSE."
 
# install guest tooles
 prlctl installtools ISOJ-prod-pub-se-0-80
 
 
 
 
 docker run registry 
# Docker 3 - http registry
# Astra SE repository
http://10.59.0.69/repo/smolensk/update/
 
#/etc/apt/sources.list
# репозиторий основного диска
deb http://10.59.0.69/repo/smolensk/main smolensk main contrib non-free
# репозиторий диска со средствами разработки
deb http://10.59.0.69/repo/smolensk/devel smolensk main contrib non-free
# репозиторий диска с обновлением основного диска
deb http://10.59.0.69/repo/smolensk/update smolensk main contrib non-free
# репозиторий диска с обновлением диска со средствами разработки
deb http://10.59.0.69/repo/smolensk/update-dev smolensk main contrib non-free
deb http://10.59.0.69/repo/smolensk/docker-s smolensk main 
 
 
установка docker astra SE
https://wiki.astralinux.ru/pages/viewpage.action?pageId=71832631
 
 
# Snapshots
 
list
 prlctl snapshot-list ISOJ-prod-pub-se-0-80
 prlctl snapshot-list ISOJ-prod-pub-se-0-80 -i {063615fa-f2a0-4c14-92d4-4c935df15840}
 
create 
 prlctl snapshot ISOJ-prod-pub-se-0-80 -n SE_after_update_and_docker -d "astra updated configured and install docker"
 prlctl snapshot ISOJ-prod-pub-se-0-80 -n SE_ready_for_install -d "astra configured and ready for install "
 
 
switch
 prlctl snapshot-switch ISOJ-prod-pub-se-0-80 --id {063615fa-f2a0-4c14-92d4-4c935df15840}
 
 
 #Backup
  prlctl backup-list ISOJ-prod-pub-se-0-80
  prlctl backup-list
  prlctl backup-list --backup-path "/vz/mybackupdir"
  prlctl backup-list MyCT --backup-path "/vz/mybackupdir"
 
 
  # full
  prlctl backup ISOJ-prod-pub-se-0-80 -f --description "backup isoj prod-pub-se full"
  #incremental
  prlctl backup ISOJ-prod-pub-se-0-80 -i --description "backup isoj prod-pub-se incremental"
  • linux/skala.txt
  • Last modified: 2021/10/15 07:54
  • by admin