Re: [p4] new user limit makes restore imposible

Sven Erik Knop <[email protected]>
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
There is an easier way.

Start up the server with the '-n' option, known as the maintenance mode. This will work even if you are above the user license limit.
Delete the extra users (and clients if you are above the limit), then shut down the server, upgrade and restart.

Alternatively, you can always purchase some licenses for support and unlimited clients ...

Cheers,

Sven Erik

--

Sven Erik Knop | Principal Solutions Engineer
Perforce Software<http://www.perforce.com>
T: +44 1189 771020<tel:+441189771020> | M: +44 7974 351514<tel:+447974351514>
Visit us on: Twitter<https://twitter.com/perforce> | LinkedIn<https://www.linkedin.com/company/perforce-software> | Facebook<https://www.facebook.com/Perforce>

New code hosting for Git, SVN, and more.
Try Helix TeamHub free today!<http://info.perforce.com/try-perforce-helix-teamhub-free?leadsourcedetail=hth-global-ongoing-wtl-freemium-cloud&leadsource=outlook-direct-email&utm_source=outlook-direct-email&utm_medium=email&utm_campaign=hth-global-ongoing-wtl-freemium-cloud&utm_term=vcs&utm_content=email-signature-link>



On 5 Jan 2018, at 22:15, Sambwise <[email protected]<mailto:[email protected]>> wrote:

Posted on behalf of forum user 'Sambwise'.

If you have a backup of the old binaries and a backup of the db (or a
checkpoint), you can roll back the upgrade and delete users that way (or just
not upgrade and keep the old 20/20 limit).  I don't think it's
possible to download the 20/20 binaries any more from Perforce's FTP site
(although I'm sure someone has them squirreled away somewhere).

Failing that, if you're over the limit on users but not clients, the easy
hack is to delete db.user.

If you're over the limit on clients, it's a little harder because
clients are stored in db.domain along with a bunch of other domain entities that
you don't want to delete (like the ones that are part of
depots).  If you end up stuck there I can walk you through doing
checkpoint surgery to hack out just the clients -- hopefully you're okay
with doing some light Perl scripting.   :)



--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/5588-new-user-limit-makes-restore-imposible
_______________________________________________
perforce-user mailing list  -  [email protected]<mailto:[email protected]>
http://maillist.perforce.com/mailman/listinfo/perforce-user

_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.