one hit command backup all your openvz instances

herewith one command that will hit your instance in openvz backing them all up and bring them to their current state.


root@google vm:~# vzlist -a | awk '{print $1}' | grep -v CTID | xargs -i vzdump --compress --dumpdir /data/external_drive/backup_openvz --stop {};

after this you can send them out to anyplace you want and deploy them anywhere you want in openvz environment like taking snapshot in amazon webservices

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s