Tools
Backup utility for Serv-U and FTP Voyager
This article contains a batch file that can be used to save configuration data from FTP Voyager v16 or later and Serv-U 12 or later into one ZIP file. It can also be used to help back up or migrate deployments.
First published date
Last published date
Overview
Product section
Resolution
Limitations
This script will not back up the following elements:
- Batch files, scripts and command-line applications invoked by Serv-U events or FTP Voyager Scheduler tasks
- SSH keys and SSL certificates used by Serv-U
- Local folders or folder contents served by Serv-U
- Local ODBC and other operating system-level configuration
Insert additional lines to the RhinoBackup.bat file to include the necessary elements or back them up separately:
@echo off REM RhinoBackup.bat REM Released to the public domain by Rhino Software, Inc. 2012 REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * REM Back up everything in common RhinoSoft folders REM and the window state registry entry used by FTP Voyager version 16+ REM REM Designed for Serv-U version 12+ and FTP Voyager version 16+ REM running on Windows Vista, 7, 8 and Server 2008 and 2012 REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * REM Prepare for back up mkdir ProgramData xcopy /E /C /G /H /I /Y "%ProgramData%\RhinoSoft" ProgramData\RhinoSoft xcopy /E /C /G /H /I /Y "%ProgramData%\RhinoSoft.com" ProgramData\RhinoSoft.com mkdir AppData xcopy /E /C /G /H /I /Y "%APPDATA%\RhinoSoft" AppData\RhinoSoft xcopy /E /C /G /H /I /Y "%APPDATA%\RhinoSoft.com" AppData\RhinoSoft.com reg export "HKCU\Software\Rhino Software\FTP Voyager" FTPVoyagerWindowStates.reg /y REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * REM Create the backup file del RhinoSoft_Config_Backup.zip 1> NUL 2> NUL zip -r RhinoSoft_Config_Backup.zip *.* REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * REM Clean up temporary files and folders rmdir /S /Q ProgramData rmdir /S /Q AppData del FTPVoyagerWindowStates.reg
How to use RhinoBackup.bat
- Create a new folder named
RhinoBackupanywhere on your machine. - Download Info-Zip (
zip.exe)and place it into the RhinoBackup folder.
(© 2017 StahlWorks Technologies, available at http://stahlworks.com, obtained on March 31, 2017.) - Create a new text file called
RhinoBackup.batin theRhinoBackupfolder. - Open
RhinoBackup.batusing a text editor (such as NotePad). - Copy everything from the
RhinoBackup.batsection above into the text file, remove any leading or trailing spaces, and save the file. - Double-click the
RhinoBackup.batfile. - Save or send the resulting
RhinoSoft_Config_Backup.zipfile.
If you encounter any problems, open a command line window, go to the directory of your RhinoBackup folder and run the batch file from there. If trouble persists, remove the @echo off command from the batch file to see a detailed output.
For information on restoring and migrating Serv-U configuration files, see Back up or move Serv-U Settings.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.