Skip to content

Linux Whiz

One stop shop for linux knowledge.

Menu
  • Home
  • Blog
  • VPS Links
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

  • Mail Cow VS Mail In A box
  • Testing Out WordOps: Here’s What I Discovered!
  • Linux Os for Desktop Top picks
  • SolusVm Automated Move Script
  • UptimeRobot VS Xitoring

Categories

  • Dedicated (5)
  • Service VS Service (3)
  • Uncategorized (1)

Krebs Security

  • U.S. Sanctions Cloud Provider ‘Funnull’ as Top Source of ‘Pig Butchering’ Scams
    by BrianKrebs
  • Pakistan Arrests 21 in ‘Heartsender’ Malware Service
    by BrianKrebs
  • Oops: DanaBot Malware Devs Infected Their Own PCs
    by BrianKrebs
  • KrebsOnSecurity Hit With Near-Record 6.3 Tbps DDoS
    by BrianKrebs
  • Breachforums Boss to Pay $700k in Healthcare Breach
    by BrianKrebs
©2025 Linux Whiz | Design: Newspaperly WordPress Theme