View Single Post
Old 11-19-2012, 09:47 PM   #1
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default 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.
bakon is offline   Reply With Quote