Restores one or more Cloudmin-managed virtual systems.
This command restores backups of one or more Cloudmin systems from the specified backup destination. The systems to include are selected using standard flags like --host
or --owner
, and the destination by the --source
flag followed by a destination specification like /backup/cloudmin or backupserver:/cloudmin.
By default, systems are restored one by one. However, you can have them done in parallel with the --parallel
flag.
If a system being restored no longer exists, Cloudmin will attempt to re-create it using the same parameters (like disk size, CPU and memory limits) that it had originally. However, this will fail if the original host system is down or un-available - in which case you can use the --new-host
flag to specify an alternate host system to restore on.
Example usage
cloudmin restore-systems --host functest.home --source /tmp Finding systems to restore .. .. found 1 systems Working out backup sources .. .. found 1 usable sources Restoring functest.home from /tmp/functest.home.tar.gz on Cloudmin master .. Un-TARing filesystem for functest.home under /vz/private/10016 via SSH from fudu.home .. .. restore failed : Failed to extract TAR file : Unknown error functest.home: FAILED Failed to extract TAR file : Unknown error
Command Line Help
Restores one or more managed systems. cloudmin restore-systems [--host name]* [--group name]* [--type real|kvm|gce|this]* [--os oscode]* [--owner name]* [--status status-code|"up"|"wm"|"bad"] [--host-on name] --source source-directory [--parallel] [--new-host hostname]