PenUltima Online

It is currently Sat Sep 06, 2008 9:46 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Moving container from server to server
PostPosted: Mon Jun 23, 2008 11:10 pm 
Offline

Joined: Sat Feb 04, 2006 6:26 pm
Posts: 548
I am often in the situation where I have yesterday's shard backup on my test server and want to move items back to the main shard - eg I want to restore a container of items that was accidently deleted.

These two simple utilities can be used to copy a container (non recursive) out to a cfg file and then import the items from the same file into a target container. The cfg file can of course be moved to another server. The core idea and code is not original, Racalac did these years ago with world items.

I haven't bothered to try and figure out how to recursively copy containers, or even preserve the co-ordinates in the container. I just needed it to do what it does.


Attachments:
File comment: saveobjects.src and restoreobjects.src
saverestoreobjects.zip [2.18 KiB]
Downloaded 28 times
Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 26, 2008 10:25 am 
Offline

Joined: Thu May 24, 2007 2:12 pm
Posts: 38
Location: South Africa
Very handy, thanks Oldngrey.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl