You need to be logged in to post in the forums. If you do not have an account, please sign up first.
batch file to backup Opera for Windows
Just in case someone wants it, here is the batch file that I use on Windows XP to backup all my emails and settings in Opera. It uses 7-Zip to put everything into one compressed archive file. 7-Zip is an excellent free tool to create zip files and other archives. (I use the .7z format rather than the .zip format, because the performance is better, and because there is not a 256-character limit to the length of a file path.) If you want to use this batch file you'll need to have a basic understanding of how it works, because you will probably need to customize the script for the way things are set up on your computer. Be sure to test the batch file before trusting it with critical data. If you like this batch file, send me a message to let me know!@echo off rem C:\backup\operabackup.bat -- by Rob Locher <rob@roblocher.com> if not exist C:\backup\operadata.7z goto getstarted echo Deleting old copy of operadata.7z... del C:\backup\operadata.7z :getstarted echo Backing up data files... cd /d "C:\Program Files\Opera" "C:\Program Files\7-Zip\7z.exe" a C:\backup\operadata.7z profile\*.adr -i!profile\wand.dat -i!profile\search.ini -ir!Mail if %errorlevel% GTR 0 goto error echo operadata.7z created successfully. echo. rem If you want to copy the archive file after creating it, rem this is a good place for that step. echo Batch file completed successfully. goto end :error echo Error encountered -- halting batch file :end cd \backup pause rem The pause statement is so the batch file can be launched by rem double-clicking in Windows Explorer. No need to start a rem command window.
Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news