BackupDB.sh crashes

BackupDB.sh crashes

Hi,

i want to move our two installations to new hardware. I'm using your description:

Please follow the steps below:
1. Install NetFlow Analyzer on the new server
2. Start the server and then shut it down
3. Run the backupDB.bat file present under the troubleshooting folder of the old installation. This will create a zip
4. Copy the zip file and extract it in the folder C:\AdventNet\ME\NetFlow folder of the new installation
5. Start the new installation
Please ensure that the old and the new version are of the same version. If they are different versions, let me know so that I can send you the relavant instructions.
Please let me know in case you need any assistance contact us at support@netflowanalyzer.com

Thank you
Ganesh.

But on both installations the script "BackupDB.sh" crashes with the following error messages:


#####################################
Installation 1
Please wait. Backup in Progress..................... / Error zippingmysql/data/n
etflow/AppIn_1H_20060821011119.frm (No such file or directory)
java.io.FileNotFoundException: mysql/data/netflow/AppIn_1H_20060821011119.frm (N
o such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.adventnet.netflow.dbutils.BackupDB.zipDir(BackupDB.java:94)
at com.adventnet.netflow.dbutils.BackupDB.zipDir(BackupDB.java:83)
at com.adventnet.netflow.dbutils.BackupDB.<init>(BackupDB.java:23)
at com.adventnet.netflow.dbutils.BackupDB.main(BackupDB.java:271)

#####################################
Installation 2



The directory that is backed up is = mysql/data
The properties file = /opt/as90001a/soft/AdventNet/NetFlow/troubleshooting/ignore.props
Build Number from Installation was 5001
The Backup filename is database_backup_5001_Wed_30_Aug_2006_10_14_16.zip
Loaded Ignore list As {[nN]et[fF]low[rR]aw*.*=}


Please wait. Backup in Progress..................... / The directory that is backed up is = mysql/data
The properties file = /opt/as90001a/soft/AdventNet/NetFlow/troubleshooting/ignore.props
Build Number from Installation was 5001
The Backup filename is database_backup_5001_Wed_30_Aug_2006_10_14_24.zip
Loaded Ignore list As {[nN]et[fF]low[rR]aw*.*=}


Please wait. Backup in Progress..................... \ Error zippingmysql/data/netflow/Conv_10M_20060830094402.frm (No such file or directory)
java.io.FileNotFoundException: mysql/data/netflow/Conv_10M_20060830094402.frm (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.adventnet.netflow.dbutils.BackupDB.zipDir(BackupDB.java:94)
at com.adventnet.netflow.dbutils.BackupDB.zipDir(BackupDB.java:83)
at com.adventnet.netflow.dbutils.BackupDB.<init>(BackupDB.java:23)
at com.adventnet.netflow.dbutils.BackupDB.main(BackupDB.java:271)


Whats wrong?

Thanks

Tom
































































                New to ADSelfService Plus?