Forums Forums (
-   General technical discussion (
-   -   Restore massive accounts from backup tar.gz files (

bakon 11-19-2012 09:47 PM

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"

Is there any way to tell from SSH for example:
so we can do an script:
WHILE tar.gz DO

Thank you.

slava 11-20-2012 10:58 PM

Hello, use /usr/local/ispmgr/sbin/pbackup frestore


# /usr/local/ispmgr/sbin/pbackup
Copyright (C) 2010 ISPsystem
pbackup [options] backup <plan>
pbackup [options] restore <plan> <backup date> [file]
pbackup [options] orestore <plan> <backup date> <object type> <object name>
pbackup [options] urestore <plan> <backup date> <user>
pbackup [options] frestore <path>
pbackup [options] download <plan> <backup date> [file]
pbackup [options] delete <plan> <backup date>
pbackup [options] scheck <storage type> <storage path>
pbackup [options] userdel <storage type> <storage path> <user>
-h show the help and exit
-r overwrite archive
-u specify user
-n do not delete temporary directory
-c restore configuration only. The option can be used in conjunction with 'orestore' only
-e do not add extra headers while downloading

bakon 11-21-2012 12:17 AM

Documentation about it

Originally Posted by slava (Post 6459)
Hello, use /usr/local/ispmgr/sbin/pbackup frestore

Where can we find documentation about it?
Thank you.

bakon 11-23-2012 07:52 PM

It doesn't works...

All times are GMT +2. The time now is 04:23 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.