11-19-2012, 09:47 PM | #1 |
Member
|
Restore massive accounts from backup tar.gz files
Is there any way to restore massive from tar.gz files?
We have about 50 tar.gz files from a remote server We don't want to do manualy at Ispmanager: WHILE we have tar.gz files DO 1) Add new user at server 2) "User import" > "Local archive" ENDWHILE Is there any way to tell from SSH for example: restore_account(file1.tar.gz) restore_account(file2.tar.gz) ... so we can do an script: WHILE tar.gz DO restore_account(XXX.tar.gz) ENDWHILE Thank you. |
11-20-2012, 10:58 PM | #2 | |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
|
Hello, use /usr/local/ispmgr/sbin/pbackup frestore
Quote:
|
|
|
|