Search our documentation...

Simply enter what you are looking for!

NOTICE: THIS IS OLD LEGACY DOCUMENTATION FOR JETBACKUP 3.1 (EOL), FOR THE NEWER MOST UPDATED DOCUMENTATION PLEASE VISIT: http://docs.jetbackup.com

JETCLI :: Restore account from command line

You can restore accounts easily from the server’s CLI instead of using JBM GUI.
Login to your server’s ssh as root user, and list your accounts –

jetcli backup -P backupmanager::listaccounts

Copy the username you want to restore from the list. For this example we used “freedoma” user.
Type the following command to display the user’s backups –

jetcli backup -P backupmanager::listaccounts::backups::full -U freedoma

Example output –

root@cpanel-dev [~]# jetcli backup -P backupmanager::listaccounts::backups::full -U freedoma
ID  Type         Date                  Size     Location  Engine         Destination
------------------------------------------------------------------------------------
2   Incremental  11-Nov-2015-12:33-PM  unknown  remote    BackupManager  FreeBSD    
5   Incremental  13-Nov-2015-10:45-PM  unknown  remote    BackupManager  Rsync01    

Get the backup ID from the list (in our example, the id is 2), and type the following command to restore –

jetcli backup -P backupmanager::listaccounts::backups::full -U freedoma -A restore -I 2 -fv

Explanation about the flags we used in the syntax –

 -A, --action             The action you want to perform on the selected page.
 -v, --verbose            increase verbosity
 -f, --force              no action prompt and force commands
 -P, --page               The page you want to access.
 -I, --id                 The item ID to perform the action you provided if needed.

Example output –