Log In | Users | Register
Welcome to Foswiki... Users, Groups
Go
Edit | Attach | New | Raw | Delete | History | Print | Tools
You are here:  Main » CensorNet » KnowledgeBase » CNv3Migrate
-- NeilBriscoe - 07 Jan 2009

Synopsis: This article will describe what facilities exist to migrate data from CensorNet OpenSource? (CNv3) to CensorNet Professional (CNv4).

Many users have invested much time adding URLs to their CNv3 in order to either block access to a site that wasn't covered by the BLUD update or to add a site to the Walled
Garden so that either a site wasn't filtered, or simply because they were only permitting access to certain sites. In addition, a lot of users have a larger
network than the CensorNet can comfortably scan and so it is useful if you can import your workstations too.

Fortunately, this is possible. You can obtain a tar archive here.

The archive contains the following scripts :-

A script to dump all workstations. The workstations are dumped into separate files, one per workstation group.

A script to dump all manually entered URLs added to block access to sites. These are dumped into separate files named after the groups you created.

A script to dump all manually entered Walled Garden entries. Again, these are dumped into separate files named after the groups you created.

Download the archive here. You should then ftp or scp it to your CensorNet version 3. Use the admin login with the command line password.

Now log into the command line as admin and type

tar xvzf cnv3-cnv4.tar.gz

Now you have a directory with three sub-directories, each containing a script to dump data of various types. The next sections will explain how to dump files of various types.

To dump workstation information type the following commands :-

cd ~/cnv3-cnv4/workstation

./wksdump.pl

To dump your manually entered blocked sites, type the following commands :-

cd ~/cnv3-cnv4/blacklist

./bldump.pl

To dump your walled garden entries, type these commands :-

cd ~/cnv3-cnv4/whitelist

./whtdump.pl

You can run one, or as many of these separate options as you like. As you run each dump script there will be a short delay whilst the CensorNet queries its database and then dumps the
required information into one or more CSV files, which you will be able to use later to import data into your CNv4.

Having dumped all the required data, you need to archive it up and get it safely back to your workstation. To archive it up, run these commands :-

cd

tar cvzf mycnv3dump.tar.gz ./cnv3-cnv4

You can now download the file mycnv3dump.tar.gz to your workstation using ftp or scp and then use winzip on your workstation to extract the files to
your workstation.

Once you have installed CNv4 on your CensorNet, use the various CSV import options to import your workstations, URL Filter entries, and URL
Override entries. The provided documentation will explain the use of these tools.


Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Syndicate this site RSSATOM