If you prefer to use the web interface, follow the steps below.
The command line backup interface is less user-friendly, but you have a lot more options at your disposal. Using the command line interface is most useful when you want to automate (e.g., via CRON) the creation of SiteWorx account backups.
You should be familiar with the Linux command line to use this method.
The command you will be running is, as the iworx user:
[email protected] ~]$ /home/interworx/bin/import.pexhas several command line parameters:
|--archive=file||Path and filename of backup file to import.|
|--ip-address=ip-address||IP address to use for the imported account. The IP address must be a valid shared or unused dedicated IP address. inifile is also a valid input for this parameter when importing a SiteWorx account (uses old IP found inside backup).|
|--control-panel=cptype||Indicates the control panel from which this backup was created. Valid values:|
|--force||Tells import.pex to force the restore which will delete any existing SiteWorx account, without a confirmation prompt, before restore proceeds. This is necessary when trying to revert to an older state of a SiteWorx account from a backup.|
|--reseller-id=id number||Tells import.pex to assign the account to a particular reseller account. If this parameter isn't used the account will be assigned to the NodeWorx administrator.|
|--create-reseller||Tells import.pex to create the reseller that's stored in the backup file. If the reseller in the backup file already exists, the account will automatically be imported under this reseller.|
The usage of the import command can be reviewed by running import.pex without parameters.
To restore SiteWorx backup file /tmp/backup.tar.gz with a prompt to confirm deletion of the existing SiteWorx account:
[[email protected] ~]$ /home/interworx/bin/import.pex --archive=/tmp/backup.tar.gz --control-panel=siteworx --ip-address=inifile
[[email protected] ~]$ /home/interworx/bin/import.pex --archive=/tmp/backup.tar.gz --control-panel=siteworx --ip-address=inifile --force
Note: If you leave this page, the mass account transfers will still continue in the background. However, if you return to this page, you will no longer be able to see the status of any of the accounts.