Posted 2013-05-08 00:08 by Joe
restore-systems.pl
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.
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|this]*
[--os oscode]*
[--owner name]*
[--status status-code|"up"|"wm"|"bad"]
[--host-on name]
--source source-directory
[--parallel]
