Skip to content

Linux Whiz

One stop shop for linux knowledge.

FraudLabs Pro
Menu
  • Home
  • Blog
  • VPS Links
  • Web Host Tools
Menu

SolusVm Automated Move Script

Posted on October 22, 2024October 22, 2024 by Think

This is code I found in my stash this was created by nixtree Id had paid for to move vps nodes what this does it moves all the vps’s that are on the vzlist.

you would add the vps id on the vzlist that you want to move.  This comes in handy.

First step you need to make vzlist.txt and add in the vs serverids to the text file .

then you wan to create this the mov.sh file

#!
DESIP=ip here
NEWNODEID=13
for VSERVERID in `cat vzlist.txt`;
do

vzmigrate -v --ssh="-p 22" $DESIP $VSERVERID
if test $? -eq 0; then
echo "$VSERVERID completed" >> /tmp/completedlist.txt
else
echo "$VSERVERID failed" >> /tmp/completedlist.txt
fi
done
cat /tmp/completedlist.txt

Now if you want something more custom I’d recommend nixtree they are very good at what they do.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Must-Have Apps on Cloudron: From Productivity to Privacy
  • World Monitor Script
  • Hostkoala.com Review
  • Configserver.com closing down permanently on 31 August 2025.
  • Mail Cow VS Mail In A box

Krebs Security

  • Hackers Used Meta’s AI Support Bot to Seize Instagram Accounts
    by BrianKrebs
  • Netherlands Seizes 800 Servers, Arrests 2 for Aiding Cyberattacks
    by BrianKrebs
  • Lawmakers Demand Answers as CISA Tries to Contain Data Leak
    by BrianKrebs
  • Alleged Kimwolf Botmaster ‘Dort’ Arrested, Charged in U.S. and Canada
    by BrianKrebs
  • CISA Admin Leaked AWS GovCloud Keys on Github
    by BrianKrebs
  • Dedicated (6)
  • Reviews (1)
  • Service VS Service (3)
  • Uncategorized (2)

XTtreme Computing Forum

  • Dashlane explains how attackers managed to download encrypted password vaults
  • Can't make sense of Dashlane's vault theft notification? You're not alone.
  • Distribution Release: T2 Linux SDE 26.6
RackNerd Large Mobile Banner
©2026 Linux Whiz | Design: Newspaperly WordPress Theme