bakon
11-19-2012, 09:47 PM
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.
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.