Results 1 to 15 of 50

Threaded View

  1. #1
    Join Date
    July 2002

    Snapshot helper scripts

    Hello there,

    What are snapshots?

    They are a way to create an "image" of some virtualservers settings.
    They contain all the permissions, users, channels and server settings. The only thing they
    do not contain is the files upload to the server (since that could be too much data ).

    They are useful as a backup, or when you want to migrate your nicely configured server
    to some new location. Also they can be used to provide an "example setup" that can be
    imported anywhere and then changed from there.

    What can I find here?

    The serverquery has two commands, serversnapshotcreate and serversnapshotdeploy that can be used to obtain and to deploy a snapshot. The "problem" is you need to copy&paste the (usually pretty long) output of serversnapshotcreate and paste that as parameter to serversnapshotdeploy.

    To make this process easier, I wrote two (bash) scripts. The script will retrieve a snapshot from the server that you specify, for example like this:
    ./ serveradmin 123213123ggadsa213 10011 public_server_snapshot.txt 1
    The first three parameters (username, password and host) are required, the last three are optional, the usage is:
    Usage: ./ username password host [query_port=10011] [output_file=snapshot.txt] [virtual server ID=1]
    The is very similar, the usage is the same, except that the file is now the input_file.

    Hopefully somebody finds this useful
    Attached Files Attached Files
    Last edited by dante696; March 30th, 2016 at 09:40 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating Helper tag Ect
    By Toasty1 in forum Permission System
    Replies: 0
    Last Post: January 2nd, 2016, 08:52 PM
  2. Using Snapshot scripts for daily backup ?
    By Ahmed in forum Server Support
    Replies: 9
    Last Post: February 11th, 2015, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts